// Lean compiler output
// Module: Lean.Meta.Coe
// Imports: public import Lean.Meta.AppBuilder import Lean.ExtraModUses
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
LEAN_EXPORT lean_object* l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_docString__1___boxed(lean_object*);
static lean_object* l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_;
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_coerce_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static uint64_t l_Lean_Meta_isTypeApp_x3f___closed__0;
static lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__2;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2____boxed(lean_object*);
lean_object* l_Lean_Meta_mkAppOptM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint64_t l_Lean_Meta_Context_configKey(lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__2;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
lean_object* l_Lean_mkAppN(lean_object*, lean_object*);
size_t lean_usize_shift_right(size_t, size_t);
uint8_t l_Lean_ExprStructEq_beq(lean_object*, lean_object*);
lean_object* l_Lean_addBuiltinDocString(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceSimple_x3f___closed__3;
LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget_spec__0___redArg(lean_object*, lean_object*);
lean_object* l_Lean_Meta_mkFreshLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceToFunction_x3f___closed__7;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24___redArg(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__17___lam__0(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__8;
static lean_object* l_Lean_Meta_coerceToFunction_x3f___closed__3;
LEAN_EXPORT lean_object* l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3();
LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4____boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18___redArg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static uint64_t l_Lean_Meta_expandCoe___closed__0;
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__6;
LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceSimple_x3f___closed__9;
lean_object* l_Lean_Environment_header(lean_object*);
extern lean_object* l_Lean_maxRecDepthErrorMessage;
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_expandCoe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__0;
uint8_t l_Lean_Exception_isInterrupt(lean_object*);
static lean_object* l_Lean_Meta_coerceSimple_x3f___closed__11;
LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__6;
lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
size_t lean_uint64_to_usize(uint64_t);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__27___redArg(lean_object*, lean_object*, lean_object*);
uint64_t lean_uint64_lor(uint64_t, uint64_t);
LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__2;
static lean_object* l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_;
LEAN_EXPORT lean_object* l_Lean_Option_register___at___00Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4__spec__0(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static size_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg___closed__0;
lean_object* l_Lean_Expr_sort___override(lean_object*);
lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_mkSort(lean_object*);
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__7;
lean_object* lean_array_push(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_coerceToFunction_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_coerceMonadLift_x3f___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_coerceMonadLift_x3f___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__6;
LEAN_EXPORT lean_object* l_Lean_Meta_initFn___lam__0_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceToSort_x3f___closed__0;
uint8_t lean_usize_dec_eq(size_t, size_t);
lean_object* l_Lean_KVMap_find(lean_object*, lean_object*);
uint8_t l_Lean_Name_isAnonymous(lean_object*);
lean_object* l_Lean_MessageData_hint_x27(lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8_spec__8___redArg(lean_object*, lean_object*);
lean_object* l_ST_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__18;
lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*);
lean_object* lean_mk_array(lean_object*, lean_object*);
uint64_t l_Lean_ExprStructEq_hash(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__20(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8_spec__8___boxed(lean_object*, lean_object*, lean_object*);
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__1;
static lean_object* l___private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget___closed__0;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_mkBVar(lean_object*);
lean_object* l_Lean_Meta_isLevelDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__11;
LEAN_EXPORT lean_object* l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___boxed(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn___closed__6_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_fget_borrowed(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceSimple_x3f___closed__7;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13_spec__13___redArg(lean_object*, lean_object*);
lean_object* l_Lean_stringToMessageData(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Meta_coerceMonadLift_x3f_spec__0___boxed(lean_object*, lean_object*);
lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_instInhabitedEffectiveImport_default;
LEAN_EXPORT lean_object* l_Lean_Meta_isMonadApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_docString__1___closed__0;
LEAN_EXPORT lean_object* l_Lean_Meta_coerceMonadLift_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_getDecLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_initFn___lam__0_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__1;
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__7;
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__2(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceToSort_x3f___closed__5;
LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_isTypeApp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__4;
LEAN_EXPORT lean_object* l_Lean_Meta_expandCoe___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Expr_hasMVar(lean_object*);
static lean_object* l_Lean_Meta_isCoeDecl___closed__0;
static lean_object* l_Lean_Meta_coerceToFunction_x3f___closed__6;
size_t lean_ptr_addr(lean_object*);
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
size_t lean_usize_of_nat(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__17;
LEAN_EXPORT lean_object* l_Lean_Meta_coerceToSort_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__6;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__10;
uint8_t l_Lean_Expr_isSort(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_();
lean_object* lean_st_ref_take(lean_object*);
static lean_object* l_Lean_Meta_coerceToSort_x3f___closed__3;
static lean_object* l_Lean_Meta_coerceSimple_x3f___closed__6;
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__8;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13_spec__13___redArg___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__5;
static lean_object* l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__0;
static lean_object* l_Lean_Meta_coerceSimple_x3f___closed__1;
static lean_object* l_Lean_Meta_initFn___closed__3_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_;
LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__0;
uint64_t lean_uint64_shift_right(uint64_t, uint64_t);
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_isMarkedMeta(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__15;
static lean_object* l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_;
uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18___lam__0(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_isMonad_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__11(lean_object*, lean_object*, uint8_t, uint8_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_nat_div(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__4;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
static double l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__0;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8_spec__8(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_expandCoe___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15_spec__15(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__2;
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__16;
static lean_object* l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__2;
lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__3;
extern lean_object* l_Lean_indirectModUseExt;
double lean_float_of_nat(lean_object*);
lean_object* lean_st_ref_get(lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg(lean_object*);
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__11;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15_spec__15___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_ST_Prim_mkRef___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__2;
uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_coerceToSort_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_mkConst(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_register___at___00Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4__spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__0;
lean_object* l_Lean_Expr_constName_x21(lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__23___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_expandCoe___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_coerceToFunction_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg(lean_object*, lean_object*);
lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*);
static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__1;
static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__5;
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__16;
lean_object* l_Lean_Meta_mkLetFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_name_eq(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15_spec__15___redArg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15___lam__0(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1___closed__0;
static lean_object* l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__0;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8_spec__8___redArg___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceToFunction_x3f___closed__5;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceSimple_x3f___closed__10;
LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_coerceSimple_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13_spec__13___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__20;
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__14;
LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_instBEqExtraModUse_beq___boxed(lean_object*, lean_object*);
lean_object* l_Lean_registerTagAttribute(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
static lean_object* l_Lean_Meta_coerceSimple_x3f___closed__8;
extern lean_object* l___private_Lean_ExtraModUses_0__Lean_extraModUses;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceSimple_x3f___closed__0;
LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__5;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_usize_to_nat(size_t);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__4;
lean_object* l_Lean_SimplePersistentEnvExtension_getState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_register_option(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_coeDeclAttr;
uint64_t l_Lean_instHashableExtraModUse_hash(lean_object*);
static lean_object* l_Lean_Meta_coerceToSort_x3f___closed__4;
static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__4;
static lean_object* l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__5;
static lean_object* l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__2;
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceToSort_x3f___closed__2;
LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_();
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_getAppNumArgs(lean_object*);
lean_object* l_Lean_Meta_Context_config(lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8___redArg(lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__12;
static lean_object* l_Lean_Meta_coerceToFunction_x3f___closed__1;
lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceToFunction_x3f___closed__4;
static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__0;
LEAN_EXPORT lean_object* l_Lean_Meta_isMonadApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__23___redArg(lean_object*, lean_object*);
lean_object* lean_array_fget(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__3;
LEAN_EXPORT lean_object* l_Lean_Meta_expandCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceToFunction_x3f___closed__2;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__27(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_isTypeApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_decLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__4;
lean_object* l_Lean_Name_beq___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
lean_object* l_Lean_Meta_mkFreshExprMVar(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn___closed__5_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
static lean_object* l_Lean_Meta_initFn___closed__3_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l_Lean_Meta_coerceSimple_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn___closed__4_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__9;
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_coerce_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_indentExpr(lean_object*);
lean_object* l_Lean_Expr_getRevArgD(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_expandCoe___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__5;
LEAN_EXPORT lean_object* l_Lean_Meta_autoLift;
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_set(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_SavedState_restore___redArg(lean_object*, lean_object*, lean_object*);
uint64_t l_Lean_Name_hash___override(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint64_t lean_uint64_xor(uint64_t, uint64_t);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__19;
uint8_t l_Lean_instBEqExtraModUse_beq(lean_object*, lean_object*);
lean_object* l_Lean_Meta_saveState___redArg(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceToFunction_x3f___closed__8;
static lean_object* l_Lean_Meta_expandCoe___lam__1___closed__0;
lean_object* lean_nat_sub(lean_object*, lean_object*);
lean_object* l_Lean_Expr_getAppFn(lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_nat_mul(lean_object*, lean_object*);
static size_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg___closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__17___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint64_t lean_uint64_shift_left(uint64_t, uint64_t);
lean_object* l_Lean_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__3;
static lean_object* l_Lean_Meta_coerceToSort_x3f___closed__1;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__23___redArg___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceSimple_x3f___closed__4;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13___redArg(lean_object*, lean_object*);
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__13;
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_PersistentEnvExtension_addEntry___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24_spec__24___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, size_t, lean_object*);
lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*);
lean_object* l_Lean_instHashableExtraModUse_hash___boxed(lean_object*);
size_t lean_usize_sub(size_t, size_t);
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__23(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__1;
lean_object* l_Lean_instantiateMVarsCore(lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__14;
static lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__1;
static lean_object* l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
size_t lean_usize_add(size_t, size_t);
LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_Meta_coerceMonadLift_x3f_spec__0(lean_object*, lean_object*);
lean_object* l_Lean_PersistentHashMap_empty(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__3;
lean_object* lean_array_uget(lean_object*, size_t);
size_t lean_array_size(lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn___closed__4_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24_spec__24_spec__24(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_st_ref_set(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__17(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_Meta_isCoeDecl(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr1(lean_object*);
size_t lean_usize_shift_left(size_t, size_t);
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__12;
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24_spec__24(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__21;
static lean_object* l_Lean_Meta_coerceToSort_x3f___closed__6;
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__15;
lean_object* l_Lean_Expr_headBeta(lean_object*);
lean_object* lean_array_get_size(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_coerceMonadLift_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
uint8_t lean_usize_dec_lt(size_t, size_t);
static lean_object* l_Lean_Meta_coerceSimple_x3f___closed__5;
static lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__3;
lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
uint64_t l_Lean_Meta_TransparencyMode_toUInt64(uint8_t);
lean_object* lean_nat_add(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Expr_isConst(lean_object*);
uint8_t l_Lean_Exception_isRuntime(lean_object*);
lean_object* lean_get_projection_info(lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__9;
uint8_t l_Lean_Expr_isForall(lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13_spec__13(lean_object*, lean_object*, lean_object*);
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
lean_object* l_Lean_MessageData_ofName(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15_spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_hash___override___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_docString__1();
static lean_object* l_Lean_Meta_coerceSimple_x3f___closed__2;
LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__22;
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*);
size_t lean_usize_land(size_t, size_t);
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__13;
lean_object* l_Lean_Meta_whnfR(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_isCoeDecl___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__3___redArg(lean_object*, lean_object*);
lean_object* l_Std_HashMap_instInhabited(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__10;
LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_coerceToFunction_x3f___closed__0;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24_spec__24_spec__24___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_initFn___lam__0_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_box(0);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
static lean_object* _init_l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("coe_decl", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("auxiliary definition used to implement coercion (unfolded during elaboration)", 77, 77);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn___closed__3_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn___closed__4_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Meta", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn___closed__5_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("coeDeclAttr", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn___closed__6_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Meta_initFn___closed__5_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
x_2 = l_Lean_Meta_initFn___closed__4_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
x_3 = l_Lean_Meta_initFn___closed__3_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_initFn___lam__0_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Meta_initFn___lam__0_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_() {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; 
x_2 = lean_alloc_closure((void*)(l_Lean_Meta_initFn___lam__0_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2____boxed), 4, 0);
x_3 = l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
x_4 = l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
x_5 = l_Lean_Meta_initFn___closed__6_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
x_6 = 0;
x_7 = lean_box(2);
x_8 = l_Lean_registerTagAttribute(x_3, x_4, x_2, x_5, x_6, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2____boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_();
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_docString__1___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Tags declarations to be unfolded during coercion elaboration.\n\nThis is mostly used to hide coercion implementation details and show the coerced result instead of\nan application of auxiliary definitions (e.g. `CoeT.coe`, `Coe.coe`). This attribute only works on\nreducible functions and instance projections.\n", 307, 307);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_docString__1() {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l_Lean_Meta_initFn___closed__6_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
x_3 = l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_docString__1___closed__0;
x_4 = l_Lean_addBuiltinDocString(x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_docString__1___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_docString__1();
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_unsigned_to_nat(16u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(112u);
x_2 = lean_unsigned_to_nat(25u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = lean_unsigned_to_nat(112u);
x_2 = l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__1;
x_3 = lean_unsigned_to_nat(0u);
x_4 = l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__0;
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_3);
lean_ctor_set(x_5, 2, x_2);
lean_ctor_set(x_5, 3, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(19u);
x_2 = lean_unsigned_to_nat(24u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(30u);
x_2 = lean_unsigned_to_nat(24u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = lean_unsigned_to_nat(30u);
x_2 = l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__4;
x_3 = lean_unsigned_to_nat(19u);
x_4 = l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__3;
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_3);
lean_ctor_set(x_5, 2, x_2);
lean_ctor_set(x_5, 3, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__5;
x_2 = l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__2;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3() {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l_Lean_Meta_initFn___closed__6_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
x_3 = l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__6;
x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3();
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_isCoeDecl___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Meta_coeDeclAttr;
return x_1;
}
}
LEAN_EXPORT uint8_t l_Lean_Meta_isCoeDecl(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; uint8_t x_4; 
x_3 = l_Lean_Meta_isCoeDecl___closed__0;
x_4 = l_Lean_TagAttribute_hasTag(x_3, x_1, x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isCoeDecl___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lean_Meta_isCoeDecl(x_1, x_2);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget_spec__0___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_4 = lean_st_ref_get(x_2);
x_5 = lean_ctor_get(x_4, 0);
lean_inc_ref(x_5);
lean_dec(x_4);
x_6 = lean_get_projection_info(x_5, x_1);
x_7 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_7, 0, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget_spec__0___redArg(x_1, x_5);
return x_7;
}
}
static lean_object* _init_l___private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = l_Lean_Expr_sort___override(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; uint8_t x_9; 
lean_inc(x_2);
x_8 = l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget_spec__0___redArg(x_2, x_6);
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
lean_object* x_10; 
x_10 = lean_ctor_get(x_8, 0);
if (lean_obj_tag(x_10) == 1)
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; 
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
lean_dec_ref(x_10);
x_12 = lean_ctor_get(x_11, 1);
lean_inc(x_12);
lean_dec(x_11);
x_13 = l___private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget___closed__0;
x_14 = l_Lean_Expr_getAppNumArgs(x_1);
x_15 = lean_nat_sub(x_14, x_12);
lean_dec(x_12);
lean_dec(x_14);
x_16 = lean_unsigned_to_nat(1u);
x_17 = lean_nat_sub(x_15, x_16);
lean_dec(x_15);
x_18 = l_Lean_Expr_getRevArgD(x_1, x_17, x_13);
lean_dec_ref(x_1);
x_19 = l_Lean_Expr_getAppFn(x_18);
x_20 = l_Lean_Expr_isConst(x_19);
if (x_20 == 0)
{
lean_dec_ref(x_19);
lean_dec_ref(x_18);
lean_ctor_set(x_8, 0, x_2);
return x_8;
}
else
{
lean_object* x_21; 
lean_free_object(x_8);
lean_dec(x_2);
x_21 = l_Lean_Expr_constName_x21(x_19);
lean_dec_ref(x_19);
x_1 = x_18;
x_2 = x_21;
goto _start;
}
}
else
{
lean_dec(x_10);
lean_dec_ref(x_1);
lean_ctor_set(x_8, 0, x_2);
return x_8;
}
}
else
{
lean_object* x_23; 
x_23 = lean_ctor_get(x_8, 0);
lean_inc(x_23);
lean_dec(x_8);
if (lean_obj_tag(x_23) == 1)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; 
x_24 = lean_ctor_get(x_23, 0);
lean_inc(x_24);
lean_dec_ref(x_23);
x_25 = lean_ctor_get(x_24, 1);
lean_inc(x_25);
lean_dec(x_24);
x_26 = l___private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget___closed__0;
x_27 = l_Lean_Expr_getAppNumArgs(x_1);
x_28 = lean_nat_sub(x_27, x_25);
lean_dec(x_25);
lean_dec(x_27);
x_29 = lean_unsigned_to_nat(1u);
x_30 = lean_nat_sub(x_28, x_29);
lean_dec(x_28);
x_31 = l_Lean_Expr_getRevArgD(x_1, x_30, x_26);
lean_dec_ref(x_1);
x_32 = l_Lean_Expr_getAppFn(x_31);
x_33 = l_Lean_Expr_isConst(x_32);
if (x_33 == 0)
{
lean_object* x_34; 
lean_dec_ref(x_32);
lean_dec_ref(x_31);
x_34 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_34, 0, x_2);
return x_34;
}
else
{
lean_object* x_35; 
lean_dec(x_2);
x_35 = l_Lean_Expr_constName_x21(x_32);
lean_dec_ref(x_32);
x_1 = x_31;
x_2 = x_35;
goto _start;
}
}
else
{
lean_object* x_37; 
lean_dec(x_23);
lean_dec_ref(x_1);
x_37 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_37, 0, x_2);
return x_37;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget_spec__0(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget_spec__0___redArg(x_1, x_2);
lean_dec(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l___private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_8;
}
}
static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_maxRecDepthErrorMessage;
return x_1;
}
}
static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__3;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__4;
x_2 = l_Lean_MessageData_ofFormat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("maxRecDepth", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("runtime", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__1;
x_2 = l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__5;
x_2 = l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__2;
x_3 = lean_alloc_ctor(8, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg(lean_object* x_1) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_3 = l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__6;
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_3);
x_5 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; uint8_t x_13; 
x_13 = !lean_is_exclusive(x_5);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; 
x_14 = lean_ctor_get(x_5, 0);
x_15 = lean_ctor_get(x_5, 1);
x_16 = lean_ctor_get(x_5, 2);
x_17 = lean_ctor_get(x_5, 3);
x_18 = lean_ctor_get(x_5, 4);
x_19 = lean_ctor_get(x_5, 5);
x_20 = lean_ctor_get(x_5, 6);
x_21 = lean_ctor_get(x_5, 7);
x_22 = lean_ctor_get(x_5, 8);
x_23 = lean_ctor_get(x_5, 9);
x_24 = lean_ctor_get(x_5, 10);
x_25 = lean_ctor_get(x_5, 11);
x_26 = lean_ctor_get(x_5, 12);
x_27 = lean_ctor_get(x_5, 13);
x_28 = lean_nat_dec_eq(x_17, x_18);
if (x_28 == 0)
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_29 = lean_unsigned_to_nat(1u);
x_30 = lean_nat_add(x_17, x_29);
lean_dec(x_17);
lean_ctor_set(x_5, 3, x_30);
x_31 = lean_apply_6(x_1, x_2, x_3, x_4, x_5, x_6, lean_box(0));
x_8 = x_31;
goto block_12;
}
else
{
lean_object* x_32; 
lean_free_object(x_5);
lean_dec_ref(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec_ref(x_15);
lean_dec_ref(x_14);
lean_dec(x_6);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec_ref(x_1);
x_32 = l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg(x_19);
x_8 = x_32;
goto block_12;
}
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; uint8_t x_49; 
x_33 = lean_ctor_get(x_5, 0);
x_34 = lean_ctor_get(x_5, 1);
x_35 = lean_ctor_get(x_5, 2);
x_36 = lean_ctor_get(x_5, 3);
x_37 = lean_ctor_get(x_5, 4);
x_38 = lean_ctor_get(x_5, 5);
x_39 = lean_ctor_get(x_5, 6);
x_40 = lean_ctor_get(x_5, 7);
x_41 = lean_ctor_get(x_5, 8);
x_42 = lean_ctor_get(x_5, 9);
x_43 = lean_ctor_get(x_5, 10);
x_44 = lean_ctor_get(x_5, 11);
x_45 = lean_ctor_get_uint8(x_5, sizeof(void*)*14);
x_46 = lean_ctor_get(x_5, 12);
x_47 = lean_ctor_get_uint8(x_5, sizeof(void*)*14 + 1);
x_48 = lean_ctor_get(x_5, 13);
lean_inc(x_48);
lean_inc(x_46);
lean_inc(x_44);
lean_inc(x_43);
lean_inc(x_42);
lean_inc(x_41);
lean_inc(x_40);
lean_inc(x_39);
lean_inc(x_38);
lean_inc(x_37);
lean_inc(x_36);
lean_inc(x_35);
lean_inc(x_34);
lean_inc(x_33);
lean_dec(x_5);
x_49 = lean_nat_dec_eq(x_36, x_37);
if (x_49 == 0)
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; 
x_50 = lean_unsigned_to_nat(1u);
x_51 = lean_nat_add(x_36, x_50);
lean_dec(x_36);
x_52 = lean_alloc_ctor(0, 14, 2);
lean_ctor_set(x_52, 0, x_33);
lean_ctor_set(x_52, 1, x_34);
lean_ctor_set(x_52, 2, x_35);
lean_ctor_set(x_52, 3, x_51);
lean_ctor_set(x_52, 4, x_37);
lean_ctor_set(x_52, 5, x_38);
lean_ctor_set(x_52, 6, x_39);
lean_ctor_set(x_52, 7, x_40);
lean_ctor_set(x_52, 8, x_41);
lean_ctor_set(x_52, 9, x_42);
lean_ctor_set(x_52, 10, x_43);
lean_ctor_set(x_52, 11, x_44);
lean_ctor_set(x_52, 12, x_46);
lean_ctor_set(x_52, 13, x_48);
lean_ctor_set_uint8(x_52, sizeof(void*)*14, x_45);
lean_ctor_set_uint8(x_52, sizeof(void*)*14 + 1, x_47);
x_53 = lean_apply_6(x_1, x_2, x_3, x_4, x_52, x_6, lean_box(0));
x_8 = x_53;
goto block_12;
}
else
{
lean_object* x_54; 
lean_dec_ref(x_48);
lean_dec(x_46);
lean_dec(x_44);
lean_dec(x_43);
lean_dec(x_42);
lean_dec(x_41);
lean_dec(x_40);
lean_dec(x_39);
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_35);
lean_dec_ref(x_34);
lean_dec_ref(x_33);
lean_dec(x_6);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec_ref(x_1);
x_54 = l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg(x_38);
x_8 = x_54;
goto block_12;
}
}
block_12:
{
if (lean_obj_tag(x_8) == 0)
{
return x_8;
}
else
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
return x_8;
}
else
{
lean_object* x_10; lean_object* x_11; 
x_10 = lean_ctor_get(x_8, 0);
lean_inc(x_10);
lean_dec(x_8);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_9; 
x_9 = l_Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21___redArg(x_2, x_3, x_4, x_5, x_6, x_7);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_9; 
x_9 = lean_apply_7(x_1, x_3, x_2, x_4, x_5, x_6, x_7, lean_box(0));
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18___redArg___lam__0___boxed), 8, 2);
lean_closure_set(x_13, 0, x_4);
lean_closure_set(x_13, 1, x_7);
x_14 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp(lean_box(0), x_1, x_2, x_3, x_13, x_5, x_6, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_14) == 0)
{
return x_14;
}
else
{
uint8_t x_15; 
x_15 = !lean_is_exclusive(x_14);
if (x_15 == 0)
{
return x_14;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_14, 0);
lean_inc(x_16);
lean_dec(x_14);
x_17 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_17, 0, x_16);
return x_17;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_14; 
x_14 = l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15_spec__15___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_12; lean_object* x_13; 
x_12 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18___redArg___lam__0___boxed), 8, 2);
lean_closure_set(x_12, 0, x_4);
lean_closure_set(x_12, 1, x_6);
x_13 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_box(0), x_1, x_2, x_3, x_12, x_5, x_7, x_8, x_9, x_10);
if (lean_obj_tag(x_13) == 0)
{
return x_13;
}
else
{
uint8_t x_14; 
x_14 = !lean_is_exclusive(x_13);
if (x_14 == 0)
{
return x_13;
}
else
{
lean_object* x_15; lean_object* x_16; 
x_15 = lean_ctor_get(x_13, 0);
lean_inc(x_15);
lean_dec(x_13);
x_16 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_16, 0, x_15);
return x_16;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15_spec__15(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_13; 
x_13 = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15_spec__15___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
return x_13;
}
}
static size_t _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg___closed__0() {
_start:
{
size_t x_1; size_t x_2; size_t x_3; 
x_1 = 5;
x_2 = 1;
x_3 = lean_usize_shift_left(x_2, x_1);
return x_3;
}
}
static size_t _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg___closed__1() {
_start:
{
size_t x_1; size_t x_2; size_t x_3; 
x_1 = 1;
x_2 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg___closed__0;
x_3 = lean_usize_sub(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = lean_array_get_size(x_1);
x_5 = lean_nat_dec_lt(x_2, x_4);
lean_dec(x_4);
if (x_5 == 0)
{
lean_dec(x_2);
return x_5;
}
else
{
lean_object* x_6; uint8_t x_7; 
x_6 = lean_array_fget_borrowed(x_1, x_2);
x_7 = l_Lean_instBEqExtraModUse_beq(x_3, x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_unsigned_to_nat(1u);
x_9 = lean_nat_add(x_2, x_8);
lean_dec(x_2);
x_2 = x_9;
goto _start;
}
else
{
lean_dec(x_2);
return x_7;
}
}
}
}
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg(lean_object* x_1, size_t x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_4);
lean_dec_ref(x_1);
x_5 = lean_box(2);
x_6 = 5;
x_7 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg___closed__1;
x_8 = lean_usize_land(x_2, x_7);
x_9 = lean_usize_to_nat(x_8);
x_10 = lean_array_get(x_5, x_4, x_9);
lean_dec(x_9);
lean_dec_ref(x_4);
switch (lean_obj_tag(x_10)) {
case 0:
{
lean_object* x_11; uint8_t x_12; 
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
lean_dec_ref(x_10);
x_12 = l_Lean_instBEqExtraModUse_beq(x_3, x_11);
lean_dec(x_11);
return x_12;
}
case 1:
{
lean_object* x_13; size_t x_14; 
x_13 = lean_ctor_get(x_10, 0);
lean_inc(x_13);
lean_dec_ref(x_10);
x_14 = lean_usize_shift_right(x_2, x_6);
x_1 = x_13;
x_2 = x_14;
goto _start;
}
default: 
{
uint8_t x_16; 
x_16 = 0;
return x_16;
}
}
}
else
{
lean_object* x_17; lean_object* x_18; uint8_t x_19; 
x_17 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_17);
lean_dec_ref(x_1);
x_18 = lean_unsigned_to_nat(0u);
x_19 = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_17, x_18, x_3);
lean_dec_ref(x_17);
return x_19;
}
}
}
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
uint64_t x_3; size_t x_4; uint8_t x_5; 
x_3 = l_Lean_instHashableExtraModUse_hash(x_2);
x_4 = lean_uint64_to_usize(x_3);
x_5 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_4, x_2);
return x_5;
}
}
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0___redArg(x_2, x_3);
return x_4;
}
}
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
uint8_t x_7; 
x_7 = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_2, x_5, x_6);
return x_7;
}
}
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__3___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 2);
x_5 = lean_ctor_get(x_2, 13);
x_6 = l_Lean_checkTraceOption(x_5, x_4, x_1);
x_7 = lean_box(x_6);
x_8 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__3___redArg(x_1, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg(x_2);
return x_8;
}
}
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__23___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
uint8_t x_3; 
x_3 = 0;
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 2);
x_6 = l_Lean_ExprStructEq_beq(x_4, x_1);
if (x_6 == 0)
{
x_2 = x_5;
goto _start;
}
else
{
return x_6;
}
}
}
}
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__23(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__23___redArg(x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24_spec__24_spec__24___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
return x_1;
}
else
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 2);
x_6 = lean_array_get_size(x_1);
x_7 = l_Lean_ExprStructEq_hash(x_4);
x_8 = 32;
x_9 = lean_uint64_shift_right(x_7, x_8);
x_10 = lean_uint64_xor(x_7, x_9);
x_11 = 16;
x_12 = lean_uint64_shift_right(x_10, x_11);
x_13 = lean_uint64_xor(x_10, x_12);
x_14 = lean_uint64_to_usize(x_13);
x_15 = lean_usize_of_nat(x_6);
lean_dec(x_6);
x_16 = 1;
x_17 = lean_usize_sub(x_15, x_16);
x_18 = lean_usize_land(x_14, x_17);
x_19 = lean_array_uget(x_1, x_18);
lean_ctor_set(x_2, 2, x_19);
x_20 = lean_array_uset(x_1, x_18, x_2);
x_1 = x_20;
x_2 = x_5;
goto _start;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint64_t x_26; uint64_t x_27; uint64_t x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; size_t x_33; size_t x_34; size_t x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; 
x_22 = lean_ctor_get(x_2, 0);
x_23 = lean_ctor_get(x_2, 1);
x_24 = lean_ctor_get(x_2, 2);
lean_inc(x_24);
lean_inc(x_23);
lean_inc(x_22);
lean_dec(x_2);
x_25 = lean_array_get_size(x_1);
x_26 = l_Lean_ExprStructEq_hash(x_22);
x_27 = 32;
x_28 = lean_uint64_shift_right(x_26, x_27);
x_29 = lean_uint64_xor(x_26, x_28);
x_30 = 16;
x_31 = lean_uint64_shift_right(x_29, x_30);
x_32 = lean_uint64_xor(x_29, x_31);
x_33 = lean_uint64_to_usize(x_32);
x_34 = lean_usize_of_nat(x_25);
lean_dec(x_25);
x_35 = 1;
x_36 = lean_usize_sub(x_34, x_35);
x_37 = lean_usize_land(x_33, x_36);
x_38 = lean_array_uget(x_1, x_37);
x_39 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_39, 0, x_22);
lean_ctor_set(x_39, 1, x_23);
lean_ctor_set(x_39, 2, x_38);
x_40 = lean_array_uset(x_1, x_37, x_39);
x_1 = x_40;
x_2 = x_24;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24_spec__24_spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24_spec__24_spec__24___redArg(x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8_spec__8___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 1);
x_6 = lean_ctor_get(x_2, 2);
x_7 = lean_name_eq(x_4, x_1);
if (x_7 == 0)
{
x_2 = x_6;
goto _start;
}
else
{
lean_object* x_9; 
lean_inc(x_5);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_5);
return x_9;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8_spec__8___redArg(x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13_spec__13___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 1);
x_6 = lean_ctor_get(x_2, 2);
x_7 = l_Lean_ExprStructEq_beq(x_4, x_1);
if (x_7 == 0)
{
x_2 = x_6;
goto _start;
}
else
{
lean_object* x_9; 
lean_inc(x_5);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_5);
return x_9;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13_spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13_spec__13___redArg(x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__27___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_3) == 0)
{
lean_dec(x_2);
lean_dec_ref(x_1);
return x_3;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_3, 1);
x_7 = lean_ctor_get(x_3, 2);
x_8 = l_Lean_ExprStructEq_beq(x_5, x_1);
if (x_8 == 0)
{
lean_object* x_9; 
x_9 = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__27___redArg(x_1, x_2, x_7);
lean_ctor_set(x_3, 2, x_9);
return x_3;
}
else
{
lean_dec(x_6);
lean_dec(x_5);
lean_ctor_set(x_3, 1, x_2);
lean_ctor_set(x_3, 0, x_1);
return x_3;
}
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; 
x_10 = lean_ctor_get(x_3, 0);
x_11 = lean_ctor_get(x_3, 1);
x_12 = lean_ctor_get(x_3, 2);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_10);
lean_dec(x_3);
x_13 = l_Lean_ExprStructEq_beq(x_10, x_1);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; 
x_14 = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__27___redArg(x_1, x_2, x_12);
x_15 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_15, 0, x_10);
lean_ctor_set(x_15, 1, x_11);
lean_ctor_set(x_15, 2, x_14);
return x_15;
}
else
{
lean_object* x_16; 
lean_dec(x_11);
lean_dec(x_10);
x_16 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_16, 0, x_1);
lean_ctor_set(x_16, 1, x_2);
lean_ctor_set(x_16, 2, x_12);
return x_16;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__27___redArg(x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint64_t x_5; uint64_t x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; 
x_3 = lean_ctor_get(x_1, 1);
x_4 = lean_array_get_size(x_3);
x_5 = l_Lean_Name_hash___override(x_2);
x_6 = 32;
x_7 = lean_uint64_shift_right(x_5, x_6);
x_8 = lean_uint64_xor(x_5, x_7);
x_9 = 16;
x_10 = lean_uint64_shift_right(x_8, x_9);
x_11 = lean_uint64_xor(x_8, x_10);
x_12 = lean_uint64_to_usize(x_11);
x_13 = lean_usize_of_nat(x_4);
lean_dec(x_4);
x_14 = 1;
x_15 = lean_usize_sub(x_13, x_14);
x_16 = lean_usize_land(x_12, x_15);
x_17 = lean_array_uget(x_3, x_16);
x_18 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8_spec__8___redArg(x_2, x_17);
lean_dec(x_17);
return x_18;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8___redArg(x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint64_t x_5; uint64_t x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; 
x_3 = lean_ctor_get(x_1, 1);
x_4 = lean_array_get_size(x_3);
x_5 = l_Lean_ExprStructEq_hash(x_2);
x_6 = 32;
x_7 = lean_uint64_shift_right(x_5, x_6);
x_8 = lean_uint64_xor(x_5, x_7);
x_9 = 16;
x_10 = lean_uint64_shift_right(x_8, x_9);
x_11 = lean_uint64_xor(x_8, x_10);
x_12 = lean_uint64_to_usize(x_11);
x_13 = lean_usize_of_nat(x_4);
lean_dec(x_4);
x_14 = 1;
x_15 = lean_usize_sub(x_13, x_14);
x_16 = lean_usize_land(x_12, x_15);
x_17 = lean_array_uget(x_3, x_16);
x_18 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13_spec__13___redArg(x_2, x_17);
lean_dec(x_17);
return x_18;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13___redArg(x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24_spec__24___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = lean_array_get_size(x_2);
x_5 = lean_nat_dec_lt(x_1, x_4);
lean_dec(x_4);
if (x_5 == 0)
{
lean_dec_ref(x_2);
lean_dec(x_1);
return x_3;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_6 = lean_array_fget(x_2, x_1);
x_7 = lean_box(0);
x_8 = lean_array_fset(x_2, x_1, x_7);
x_9 = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24_spec__24_spec__24___redArg(x_3, x_6);
x_10 = lean_unsigned_to_nat(1u);
x_11 = lean_nat_add(x_1, x_10);
lean_dec(x_1);
x_1 = x_11;
x_2 = x_8;
x_3 = x_9;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24___redArg(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_2 = lean_array_get_size(x_1);
x_3 = lean_unsigned_to_nat(2u);
x_4 = lean_nat_mul(x_2, x_3);
lean_dec(x_2);
x_5 = lean_unsigned_to_nat(0u);
x_6 = lean_box(0);
x_7 = lean_mk_array(x_4, x_6);
x_8 = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24_spec__24___redArg(x_5, x_1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24___redArg(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_1);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; uint64_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; size_t x_19; lean_object* x_20; uint8_t x_21; 
x_5 = lean_ctor_get(x_1, 0);
x_6 = lean_ctor_get(x_1, 1);
x_7 = lean_array_get_size(x_6);
x_8 = l_Lean_ExprStructEq_hash(x_2);
x_9 = 32;
x_10 = lean_uint64_shift_right(x_8, x_9);
x_11 = lean_uint64_xor(x_8, x_10);
x_12 = 16;
x_13 = lean_uint64_shift_right(x_11, x_12);
x_14 = lean_uint64_xor(x_11, x_13);
x_15 = lean_uint64_to_usize(x_14);
x_16 = lean_usize_of_nat(x_7);
lean_dec(x_7);
x_17 = 1;
x_18 = lean_usize_sub(x_16, x_17);
x_19 = lean_usize_land(x_15, x_18);
x_20 = lean_array_uget(x_6, x_19);
x_21 = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__23___redArg(x_2, x_20);
if (x_21 == 0)
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; 
x_22 = lean_unsigned_to_nat(1u);
x_23 = lean_nat_add(x_5, x_22);
lean_dec(x_5);
x_24 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_24, 0, x_2);
lean_ctor_set(x_24, 1, x_3);
lean_ctor_set(x_24, 2, x_20);
x_25 = lean_array_uset(x_6, x_19, x_24);
x_26 = lean_unsigned_to_nat(4u);
x_27 = lean_nat_mul(x_23, x_26);
x_28 = lean_unsigned_to_nat(3u);
x_29 = lean_nat_div(x_27, x_28);
lean_dec(x_27);
x_30 = lean_array_get_size(x_25);
x_31 = lean_nat_dec_le(x_29, x_30);
lean_dec(x_30);
lean_dec(x_29);
if (x_31 == 0)
{
lean_object* x_32; 
x_32 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24___redArg(x_25);
lean_ctor_set(x_1, 1, x_32);
lean_ctor_set(x_1, 0, x_23);
return x_1;
}
else
{
lean_ctor_set(x_1, 1, x_25);
lean_ctor_set(x_1, 0, x_23);
return x_1;
}
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 
x_33 = lean_box(0);
x_34 = lean_array_uset(x_6, x_19, x_33);
x_35 = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__27___redArg(x_2, x_3, x_20);
x_36 = lean_array_uset(x_34, x_19, x_35);
lean_ctor_set(x_1, 1, x_36);
return x_1;
}
}
else
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; uint64_t x_40; uint64_t x_41; uint64_t x_42; uint64_t x_43; uint64_t x_44; uint64_t x_45; uint64_t x_46; size_t x_47; size_t x_48; size_t x_49; size_t x_50; size_t x_51; lean_object* x_52; uint8_t x_53; 
x_37 = lean_ctor_get(x_1, 0);
x_38 = lean_ctor_get(x_1, 1);
lean_inc(x_38);
lean_inc(x_37);
lean_dec(x_1);
x_39 = lean_array_get_size(x_38);
x_40 = l_Lean_ExprStructEq_hash(x_2);
x_41 = 32;
x_42 = lean_uint64_shift_right(x_40, x_41);
x_43 = lean_uint64_xor(x_40, x_42);
x_44 = 16;
x_45 = lean_uint64_shift_right(x_43, x_44);
x_46 = lean_uint64_xor(x_43, x_45);
x_47 = lean_uint64_to_usize(x_46);
x_48 = lean_usize_of_nat(x_39);
lean_dec(x_39);
x_49 = 1;
x_50 = lean_usize_sub(x_48, x_49);
x_51 = lean_usize_land(x_47, x_50);
x_52 = lean_array_uget(x_38, x_51);
x_53 = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__23___redArg(x_2, x_52);
if (x_53 == 0)
{
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; 
x_54 = lean_unsigned_to_nat(1u);
x_55 = lean_nat_add(x_37, x_54);
lean_dec(x_37);
x_56 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_56, 0, x_2);
lean_ctor_set(x_56, 1, x_3);
lean_ctor_set(x_56, 2, x_52);
x_57 = lean_array_uset(x_38, x_51, x_56);
x_58 = lean_unsigned_to_nat(4u);
x_59 = lean_nat_mul(x_55, x_58);
x_60 = lean_unsigned_to_nat(3u);
x_61 = lean_nat_div(x_59, x_60);
lean_dec(x_59);
x_62 = lean_array_get_size(x_57);
x_63 = lean_nat_dec_le(x_61, x_62);
lean_dec(x_62);
lean_dec(x_61);
if (x_63 == 0)
{
lean_object* x_64; lean_object* x_65; 
x_64 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24___redArg(x_57);
x_65 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_65, 0, x_55);
lean_ctor_set(x_65, 1, x_64);
return x_65;
}
else
{
lean_object* x_66; 
x_66 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_66, 0, x_55);
lean_ctor_set(x_66, 1, x_57);
return x_66;
}
}
else
{
lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; 
x_67 = lean_box(0);
x_68 = lean_array_uset(x_38, x_51, x_67);
x_69 = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__27___redArg(x_2, x_3, x_52);
x_70 = lean_array_uset(x_68, x_51, x_69);
x_71 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_71, 0, x_37);
lean_ctor_set(x_71, 1, x_70);
return x_71;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23___redArg(x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24_spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__24_spec__24___redArg(x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_apply_1(x_2, lean_box(0));
x_9 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_9, 0, x_8);
return x_9;
}
}
static lean_object* _init_l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_14; lean_object* x_15; 
x_14 = lean_array_push(x_1, x_7);
x_15 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15(x_2, x_3, x_4, x_5, x_14, x_6, x_8, x_9, x_10, x_11, x_12);
return x_15;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; lean_object* x_16; 
x_14 = lean_unbox(x_4);
x_15 = lean_unbox(x_5);
x_16 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15___lam__0(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
return x_16;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
if (lean_obj_tag(x_6) == 7)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; 
x_13 = lean_ctor_get(x_6, 0);
lean_inc(x_13);
x_14 = lean_ctor_get(x_6, 1);
lean_inc_ref(x_14);
x_15 = lean_ctor_get(x_6, 2);
lean_inc_ref(x_15);
x_16 = lean_ctor_get_uint8(x_6, sizeof(void*)*3 + 8);
lean_dec_ref(x_6);
x_17 = lean_expr_instantiate_rev(x_14, x_5);
lean_dec_ref(x_14);
lean_inc(x_11);
lean_inc_ref(x_10);
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_2);
lean_inc_ref(x_1);
x_18 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_2, x_3, x_4, x_17, x_7, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; 
x_19 = lean_ctor_get(x_18, 0);
lean_inc(x_19);
lean_dec_ref(x_18);
x_20 = lean_box(x_3);
x_21 = lean_box(x_4);
x_22 = lean_alloc_closure((void*)(l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15___lam__0___boxed), 13, 6);
lean_closure_set(x_22, 0, x_5);
lean_closure_set(x_22, 1, x_1);
lean_closure_set(x_22, 2, x_2);
lean_closure_set(x_22, 3, x_20);
lean_closure_set(x_22, 4, x_21);
lean_closure_set(x_22, 5, x_15);
x_23 = 0;
x_24 = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15_spec__15___redArg(x_13, x_16, x_19, x_22, x_23, x_7, x_8, x_9, x_10, x_11);
return x_24;
}
else
{
lean_dec_ref(x_15);
lean_dec(x_13);
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_18;
}
}
else
{
lean_object* x_25; lean_object* x_26; 
x_25 = lean_expr_instantiate_rev(x_6, x_5);
lean_dec_ref(x_6);
lean_inc(x_11);
lean_inc_ref(x_10);
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_2);
lean_inc_ref(x_1);
x_26 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_2, x_3, x_4, x_25, x_7, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_26) == 0)
{
lean_object* x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; lean_object* x_31; 
x_27 = lean_ctor_get(x_26, 0);
lean_inc(x_27);
lean_dec_ref(x_26);
x_28 = 0;
x_29 = 1;
x_30 = 1;
x_31 = l_Lean_Meta_mkForallFVars(x_5, x_27, x_28, x_3, x_29, x_30, x_8, x_9, x_10, x_11);
lean_dec_ref(x_5);
if (lean_obj_tag(x_31) == 0)
{
lean_object* x_32; lean_object* x_33; 
x_32 = lean_ctor_get(x_31, 0);
lean_inc(x_32);
lean_dec_ref(x_31);
x_33 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(x_1, x_2, x_3, x_4, x_32, x_7, x_8, x_9, x_10, x_11);
return x_33;
}
else
{
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_31;
}
}
else
{
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_26;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__17___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_14; lean_object* x_15; 
x_14 = lean_array_push(x_1, x_7);
x_15 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__17(x_2, x_3, x_4, x_5, x_14, x_6, x_8, x_9, x_10, x_11, x_12);
return x_15;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__17___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; lean_object* x_16; 
x_14 = lean_unbox(x_4);
x_15 = lean_unbox(x_5);
x_16 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__17___lam__0(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
return x_16;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__17(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
if (lean_obj_tag(x_6) == 6)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; 
x_13 = lean_ctor_get(x_6, 0);
lean_inc(x_13);
x_14 = lean_ctor_get(x_6, 1);
lean_inc_ref(x_14);
x_15 = lean_ctor_get(x_6, 2);
lean_inc_ref(x_15);
x_16 = lean_ctor_get_uint8(x_6, sizeof(void*)*3 + 8);
lean_dec_ref(x_6);
x_17 = lean_expr_instantiate_rev(x_14, x_5);
lean_dec_ref(x_14);
lean_inc(x_11);
lean_inc_ref(x_10);
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_2);
lean_inc_ref(x_1);
x_18 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_2, x_3, x_4, x_17, x_7, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; 
x_19 = lean_ctor_get(x_18, 0);
lean_inc(x_19);
lean_dec_ref(x_18);
x_20 = lean_box(x_3);
x_21 = lean_box(x_4);
x_22 = lean_alloc_closure((void*)(l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__17___lam__0___boxed), 13, 6);
lean_closure_set(x_22, 0, x_5);
lean_closure_set(x_22, 1, x_1);
lean_closure_set(x_22, 2, x_2);
lean_closure_set(x_22, 3, x_20);
lean_closure_set(x_22, 4, x_21);
lean_closure_set(x_22, 5, x_15);
x_23 = 0;
x_24 = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15_spec__15___redArg(x_13, x_16, x_19, x_22, x_23, x_7, x_8, x_9, x_10, x_11);
return x_24;
}
else
{
lean_dec_ref(x_15);
lean_dec(x_13);
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_18;
}
}
else
{
lean_object* x_25; lean_object* x_26; 
x_25 = lean_expr_instantiate_rev(x_6, x_5);
lean_dec_ref(x_6);
lean_inc(x_11);
lean_inc_ref(x_10);
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_2);
lean_inc_ref(x_1);
x_26 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_2, x_3, x_4, x_25, x_7, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_26) == 0)
{
lean_object* x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; lean_object* x_31; 
x_27 = lean_ctor_get(x_26, 0);
lean_inc(x_27);
lean_dec_ref(x_26);
x_28 = 0;
x_29 = 1;
x_30 = 1;
x_31 = l_Lean_Meta_mkLambdaFVars(x_5, x_27, x_28, x_3, x_28, x_29, x_30, x_8, x_9, x_10, x_11);
lean_dec_ref(x_5);
if (lean_obj_tag(x_31) == 0)
{
lean_object* x_32; lean_object* x_33; 
x_32 = lean_ctor_get(x_31, 0);
lean_inc(x_32);
lean_dec_ref(x_31);
x_33 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(x_1, x_2, x_3, x_4, x_32, x_7, x_8, x_9, x_10, x_11);
return x_33;
}
else
{
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_31;
}
}
else
{
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_26;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_14; lean_object* x_15; 
x_14 = lean_array_push(x_1, x_7);
x_15 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18(x_2, x_3, x_4, x_5, x_14, x_6, x_8, x_9, x_10, x_11, x_12);
return x_15;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; lean_object* x_16; 
x_14 = lean_unbox(x_4);
x_15 = lean_unbox(x_5);
x_16 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18___lam__0(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
return x_16;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
if (lean_obj_tag(x_6) == 8)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; 
x_13 = lean_ctor_get(x_6, 0);
lean_inc(x_13);
x_14 = lean_ctor_get(x_6, 1);
lean_inc_ref(x_14);
x_15 = lean_ctor_get(x_6, 2);
lean_inc_ref(x_15);
x_16 = lean_ctor_get(x_6, 3);
lean_inc_ref(x_16);
x_17 = lean_ctor_get_uint8(x_6, sizeof(void*)*4 + 8);
lean_dec_ref(x_6);
x_18 = lean_expr_instantiate_rev(x_14, x_5);
lean_dec_ref(x_14);
lean_inc(x_11);
lean_inc_ref(x_10);
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_2);
lean_inc_ref(x_1);
x_19 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_2, x_3, x_4, x_18, x_7, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_19) == 0)
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_20 = lean_ctor_get(x_19, 0);
lean_inc(x_20);
lean_dec_ref(x_19);
x_21 = lean_expr_instantiate_rev(x_15, x_5);
lean_dec_ref(x_15);
lean_inc(x_11);
lean_inc_ref(x_10);
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_2);
lean_inc_ref(x_1);
x_22 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_2, x_3, x_4, x_21, x_7, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_22) == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; 
x_23 = lean_ctor_get(x_22, 0);
lean_inc(x_23);
lean_dec_ref(x_22);
x_24 = lean_box(x_3);
x_25 = lean_box(x_4);
x_26 = lean_alloc_closure((void*)(l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18___lam__0___boxed), 13, 6);
lean_closure_set(x_26, 0, x_5);
lean_closure_set(x_26, 1, x_1);
lean_closure_set(x_26, 2, x_2);
lean_closure_set(x_26, 3, x_24);
lean_closure_set(x_26, 4, x_25);
lean_closure_set(x_26, 5, x_16);
x_27 = 0;
x_28 = l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18___redArg(x_13, x_20, x_23, x_26, x_17, x_27, x_7, x_8, x_9, x_10, x_11);
return x_28;
}
else
{
lean_dec(x_20);
lean_dec_ref(x_16);
lean_dec(x_13);
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_22;
}
}
else
{
lean_dec_ref(x_16);
lean_dec_ref(x_15);
lean_dec(x_13);
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_19;
}
}
else
{
lean_object* x_29; lean_object* x_30; 
x_29 = lean_expr_instantiate_rev(x_6, x_5);
lean_dec_ref(x_6);
lean_inc(x_11);
lean_inc_ref(x_10);
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_2);
lean_inc_ref(x_1);
x_30 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_2, x_3, x_4, x_29, x_7, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_30) == 0)
{
lean_object* x_31; uint8_t x_32; uint8_t x_33; lean_object* x_34; 
x_31 = lean_ctor_get(x_30, 0);
lean_inc(x_31);
lean_dec_ref(x_30);
x_32 = 0;
x_33 = 1;
x_34 = l_Lean_Meta_mkLetFVars(x_5, x_31, x_3, x_32, x_33, x_8, x_9, x_10, x_11);
lean_dec_ref(x_5);
if (lean_obj_tag(x_34) == 0)
{
lean_object* x_35; lean_object* x_36; 
x_35 = lean_ctor_get(x_34, 0);
lean_inc(x_35);
lean_dec_ref(x_34);
x_36 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(x_1, x_2, x_3, x_4, x_35, x_7, x_8, x_9, x_10, x_11);
return x_36;
}
else
{
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_34;
}
}
else
{
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_30;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__11(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_14; 
x_14 = lean_usize_dec_lt(x_6, x_5);
if (x_14 == 0)
{
lean_object* x_15; 
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_7);
return x_15;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_array_uget(x_7, x_6);
lean_inc(x_12);
lean_inc_ref(x_11);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_2);
lean_inc_ref(x_1);
x_17 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_2, x_3, x_4, x_16, x_8, x_9, x_10, x_11, x_12);
if (lean_obj_tag(x_17) == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; 
x_18 = lean_ctor_get(x_17, 0);
lean_inc(x_18);
lean_dec_ref(x_17);
x_19 = lean_unsigned_to_nat(0u);
x_20 = lean_array_uset(x_7, x_6, x_19);
x_21 = 1;
x_22 = lean_usize_add(x_6, x_21);
x_23 = lean_array_uset(x_20, x_6, x_18);
x_6 = x_22;
x_7 = x_23;
goto _start;
}
else
{
uint8_t x_25; 
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_25 = !lean_is_exclusive(x_17);
if (x_25 == 0)
{
return x_17;
}
else
{
lean_object* x_26; lean_object* x_27; 
x_26 = lean_ctor_get(x_17, 0);
lean_inc(x_26);
lean_dec(x_17);
x_27 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_27, 0, x_26);
return x_27;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__20(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
if (lean_obj_tag(x_5) == 5)
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_26 = lean_ctor_get(x_5, 0);
lean_inc_ref(x_26);
x_27 = lean_ctor_get(x_5, 1);
lean_inc_ref(x_27);
lean_dec_ref(x_5);
x_28 = lean_array_set(x_6, x_7, x_27);
x_29 = lean_unsigned_to_nat(1u);
x_30 = lean_nat_sub(x_7, x_29);
lean_dec(x_7);
x_5 = x_26;
x_6 = x_28;
x_7 = x_30;
goto _start;
}
else
{
lean_dec(x_7);
if (x_4 == 0)
{
goto block_25;
}
else
{
uint8_t x_32; 
x_32 = l_Lean_Expr_isConst(x_5);
if (x_32 == 0)
{
goto block_25;
}
else
{
size_t x_33; size_t x_34; lean_object* x_35; 
x_33 = lean_array_size(x_6);
x_34 = 0;
lean_inc(x_12);
lean_inc_ref(x_11);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_2);
lean_inc_ref(x_1);
x_35 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__11(x_1, x_2, x_3, x_4, x_33, x_34, x_6, x_8, x_9, x_10, x_11, x_12);
if (lean_obj_tag(x_35) == 0)
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; 
x_36 = lean_ctor_get(x_35, 0);
lean_inc(x_36);
lean_dec_ref(x_35);
x_37 = l_Lean_mkAppN(x_5, x_36);
lean_dec(x_36);
x_38 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(x_1, x_2, x_3, x_4, x_37, x_8, x_9, x_10, x_11, x_12);
return x_38;
}
else
{
uint8_t x_39; 
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_39 = !lean_is_exclusive(x_35);
if (x_39 == 0)
{
return x_35;
}
else
{
lean_object* x_40; lean_object* x_41; 
x_40 = lean_ctor_get(x_35, 0);
lean_inc(x_40);
lean_dec(x_35);
x_41 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_41, 0, x_40);
return x_41;
}
}
}
}
}
block_25:
{
lean_object* x_14; 
lean_inc(x_12);
lean_inc_ref(x_11);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_2);
lean_inc_ref(x_1);
x_14 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_2, x_3, x_4, x_5, x_8, x_9, x_10, x_11, x_12);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; 
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
lean_dec_ref(x_14);
x_16 = lean_array_size(x_6);
x_17 = 0;
lean_inc(x_12);
lean_inc_ref(x_11);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_2);
lean_inc_ref(x_1);
x_18 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__11(x_1, x_2, x_3, x_4, x_16, x_17, x_6, x_8, x_9, x_10, x_11, x_12);
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_19 = lean_ctor_get(x_18, 0);
lean_inc(x_19);
lean_dec_ref(x_18);
x_20 = l_Lean_mkAppN(x_15, x_19);
lean_dec(x_19);
x_21 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(x_1, x_2, x_3, x_4, x_20, x_8, x_9, x_10, x_11, x_12);
return x_21;
}
else
{
uint8_t x_22; 
lean_dec(x_15);
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_22 = !lean_is_exclusive(x_18);
if (x_22 == 0)
{
return x_18;
}
else
{
lean_object* x_23; lean_object* x_24; 
x_23 = lean_ctor_get(x_18, 0);
lean_inc(x_23);
lean_dec(x_18);
x_24 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_24, 0, x_23);
return x_24;
}
}
}
else
{
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_6);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_14;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_12; 
lean_inc_ref(x_1);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc_ref(x_2);
x_12 = lean_apply_6(x_1, x_2, x_7, x_8, x_9, x_10, lean_box(0));
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_13; 
x_13 = !lean_is_exclusive(x_12);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; 
x_14 = lean_ctor_get(x_12, 0);
switch (lean_obj_tag(x_14)) {
case 0:
{
lean_object* x_51; 
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_51 = lean_ctor_get(x_14, 0);
lean_inc_ref(x_51);
lean_dec_ref(x_14);
lean_ctor_set(x_12, 0, x_51);
return x_12;
}
case 1:
{
lean_object* x_52; lean_object* x_53; 
lean_free_object(x_12);
lean_dec_ref(x_2);
x_52 = lean_ctor_get(x_14, 0);
lean_inc_ref(x_52);
lean_dec_ref(x_14);
x_53 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_3, x_4, x_5, x_52, x_6, x_7, x_8, x_9, x_10);
return x_53;
}
default: 
{
lean_object* x_54; 
lean_free_object(x_12);
x_54 = lean_ctor_get(x_14, 0);
lean_inc(x_54);
lean_dec_ref(x_14);
if (lean_obj_tag(x_54) == 0)
{
x_15 = x_2;
goto block_50;
}
else
{
lean_object* x_55; 
lean_dec_ref(x_2);
x_55 = lean_ctor_get(x_54, 0);
lean_inc(x_55);
lean_dec_ref(x_54);
x_15 = x_55;
goto block_50;
}
}
}
block_50:
{
switch (lean_obj_tag(x_15)) {
case 7:
{
lean_object* x_16; lean_object* x_17; 
x_16 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1___closed__0;
x_17 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15(x_1, x_3, x_4, x_5, x_16, x_15, x_6, x_7, x_8, x_9, x_10);
return x_17;
}
case 6:
{
lean_object* x_18; lean_object* x_19; 
x_18 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1___closed__0;
x_19 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__17(x_1, x_3, x_4, x_5, x_18, x_15, x_6, x_7, x_8, x_9, x_10);
return x_19;
}
case 8:
{
lean_object* x_20; lean_object* x_21; 
x_20 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1___closed__0;
x_21 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18(x_1, x_3, x_4, x_5, x_20, x_15, x_6, x_7, x_8, x_9, x_10);
return x_21;
}
case 5:
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_22 = l___private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget___closed__0;
x_23 = l_Lean_Expr_getAppNumArgs(x_15);
lean_inc(x_23);
x_24 = lean_mk_array(x_23, x_22);
x_25 = lean_unsigned_to_nat(1u);
x_26 = lean_nat_sub(x_23, x_25);
lean_dec(x_23);
x_27 = l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__20(x_1, x_3, x_4, x_5, x_15, x_24, x_26, x_6, x_7, x_8, x_9, x_10);
return x_27;
}
case 10:
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_28 = lean_ctor_get(x_15, 0);
x_29 = lean_ctor_get(x_15, 1);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
lean_inc_ref(x_29);
lean_inc_ref(x_3);
lean_inc_ref(x_1);
x_30 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_3, x_4, x_5, x_29, x_6, x_7, x_8, x_9, x_10);
if (lean_obj_tag(x_30) == 0)
{
lean_object* x_31; size_t x_32; size_t x_33; uint8_t x_34; 
x_31 = lean_ctor_get(x_30, 0);
lean_inc(x_31);
lean_dec_ref(x_30);
x_32 = lean_ptr_addr(x_29);
x_33 = lean_ptr_addr(x_31);
x_34 = lean_usize_dec_eq(x_32, x_33);
if (x_34 == 0)
{
lean_object* x_35; lean_object* x_36; 
lean_inc(x_28);
lean_dec_ref(x_15);
x_35 = l_Lean_Expr_mdata___override(x_28, x_31);
x_36 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(x_1, x_3, x_4, x_5, x_35, x_6, x_7, x_8, x_9, x_10);
return x_36;
}
else
{
lean_object* x_37; 
lean_dec(x_31);
x_37 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(x_1, x_3, x_4, x_5, x_15, x_6, x_7, x_8, x_9, x_10);
return x_37;
}
}
else
{
lean_dec_ref(x_15);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
return x_30;
}
}
case 11:
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 
x_38 = lean_ctor_get(x_15, 0);
x_39 = lean_ctor_get(x_15, 1);
x_40 = lean_ctor_get(x_15, 2);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
lean_inc_ref(x_40);
lean_inc_ref(x_3);
lean_inc_ref(x_1);
x_41 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_3, x_4, x_5, x_40, x_6, x_7, x_8, x_9, x_10);
if (lean_obj_tag(x_41) == 0)
{
lean_object* x_42; size_t x_43; size_t x_44; uint8_t x_45; 
x_42 = lean_ctor_get(x_41, 0);
lean_inc(x_42);
lean_dec_ref(x_41);
x_43 = lean_ptr_addr(x_40);
x_44 = lean_ptr_addr(x_42);
x_45 = lean_usize_dec_eq(x_43, x_44);
if (x_45 == 0)
{
lean_object* x_46; lean_object* x_47; 
lean_inc(x_39);
lean_inc(x_38);
lean_dec_ref(x_15);
x_46 = l_Lean_Expr_proj___override(x_38, x_39, x_42);
x_47 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(x_1, x_3, x_4, x_5, x_46, x_6, x_7, x_8, x_9, x_10);
return x_47;
}
else
{
lean_object* x_48; 
lean_dec(x_42);
x_48 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(x_1, x_3, x_4, x_5, x_15, x_6, x_7, x_8, x_9, x_10);
return x_48;
}
}
else
{
lean_dec_ref(x_15);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
return x_41;
}
}
default: 
{
lean_object* x_49; 
x_49 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(x_1, x_3, x_4, x_5, x_15, x_6, x_7, x_8, x_9, x_10);
return x_49;
}
}
}
}
else
{
lean_object* x_56; lean_object* x_57; 
x_56 = lean_ctor_get(x_12, 0);
lean_inc(x_56);
lean_dec(x_12);
switch (lean_obj_tag(x_56)) {
case 0:
{
lean_object* x_93; lean_object* x_94; 
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_93 = lean_ctor_get(x_56, 0);
lean_inc_ref(x_93);
lean_dec_ref(x_56);
x_94 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_94, 0, x_93);
return x_94;
}
case 1:
{
lean_object* x_95; lean_object* x_96; 
lean_dec_ref(x_2);
x_95 = lean_ctor_get(x_56, 0);
lean_inc_ref(x_95);
lean_dec_ref(x_56);
x_96 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_3, x_4, x_5, x_95, x_6, x_7, x_8, x_9, x_10);
return x_96;
}
default: 
{
lean_object* x_97; 
x_97 = lean_ctor_get(x_56, 0);
lean_inc(x_97);
lean_dec_ref(x_56);
if (lean_obj_tag(x_97) == 0)
{
x_57 = x_2;
goto block_92;
}
else
{
lean_object* x_98; 
lean_dec_ref(x_2);
x_98 = lean_ctor_get(x_97, 0);
lean_inc(x_98);
lean_dec_ref(x_97);
x_57 = x_98;
goto block_92;
}
}
}
block_92:
{
switch (lean_obj_tag(x_57)) {
case 7:
{
lean_object* x_58; lean_object* x_59; 
x_58 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1___closed__0;
x_59 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15(x_1, x_3, x_4, x_5, x_58, x_57, x_6, x_7, x_8, x_9, x_10);
return x_59;
}
case 6:
{
lean_object* x_60; lean_object* x_61; 
x_60 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1___closed__0;
x_61 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__17(x_1, x_3, x_4, x_5, x_60, x_57, x_6, x_7, x_8, x_9, x_10);
return x_61;
}
case 8:
{
lean_object* x_62; lean_object* x_63; 
x_62 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1___closed__0;
x_63 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18(x_1, x_3, x_4, x_5, x_62, x_57, x_6, x_7, x_8, x_9, x_10);
return x_63;
}
case 5:
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; 
x_64 = l___private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget___closed__0;
x_65 = l_Lean_Expr_getAppNumArgs(x_57);
lean_inc(x_65);
x_66 = lean_mk_array(x_65, x_64);
x_67 = lean_unsigned_to_nat(1u);
x_68 = lean_nat_sub(x_65, x_67);
lean_dec(x_65);
x_69 = l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__20(x_1, x_3, x_4, x_5, x_57, x_66, x_68, x_6, x_7, x_8, x_9, x_10);
return x_69;
}
case 10:
{
lean_object* x_70; lean_object* x_71; lean_object* x_72; 
x_70 = lean_ctor_get(x_57, 0);
x_71 = lean_ctor_get(x_57, 1);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
lean_inc_ref(x_71);
lean_inc_ref(x_3);
lean_inc_ref(x_1);
x_72 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_3, x_4, x_5, x_71, x_6, x_7, x_8, x_9, x_10);
if (lean_obj_tag(x_72) == 0)
{
lean_object* x_73; size_t x_74; size_t x_75; uint8_t x_76; 
x_73 = lean_ctor_get(x_72, 0);
lean_inc(x_73);
lean_dec_ref(x_72);
x_74 = lean_ptr_addr(x_71);
x_75 = lean_ptr_addr(x_73);
x_76 = lean_usize_dec_eq(x_74, x_75);
if (x_76 == 0)
{
lean_object* x_77; lean_object* x_78; 
lean_inc(x_70);
lean_dec_ref(x_57);
x_77 = l_Lean_Expr_mdata___override(x_70, x_73);
x_78 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(x_1, x_3, x_4, x_5, x_77, x_6, x_7, x_8, x_9, x_10);
return x_78;
}
else
{
lean_object* x_79; 
lean_dec(x_73);
x_79 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(x_1, x_3, x_4, x_5, x_57, x_6, x_7, x_8, x_9, x_10);
return x_79;
}
}
else
{
lean_dec_ref(x_57);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
return x_72;
}
}
case 11:
{
lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; 
x_80 = lean_ctor_get(x_57, 0);
x_81 = lean_ctor_get(x_57, 1);
x_82 = lean_ctor_get(x_57, 2);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
lean_inc_ref(x_82);
lean_inc_ref(x_3);
lean_inc_ref(x_1);
x_83 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_3, x_4, x_5, x_82, x_6, x_7, x_8, x_9, x_10);
if (lean_obj_tag(x_83) == 0)
{
lean_object* x_84; size_t x_85; size_t x_86; uint8_t x_87; 
x_84 = lean_ctor_get(x_83, 0);
lean_inc(x_84);
lean_dec_ref(x_83);
x_85 = lean_ptr_addr(x_82);
x_86 = lean_ptr_addr(x_84);
x_87 = lean_usize_dec_eq(x_85, x_86);
if (x_87 == 0)
{
lean_object* x_88; lean_object* x_89; 
lean_inc(x_81);
lean_inc(x_80);
lean_dec_ref(x_57);
x_88 = l_Lean_Expr_proj___override(x_80, x_81, x_84);
x_89 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(x_1, x_3, x_4, x_5, x_88, x_6, x_7, x_8, x_9, x_10);
return x_89;
}
else
{
lean_object* x_90; 
lean_dec(x_84);
x_90 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(x_1, x_3, x_4, x_5, x_57, x_6, x_7, x_8, x_9, x_10);
return x_90;
}
}
else
{
lean_dec_ref(x_57);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
return x_83;
}
}
default: 
{
lean_object* x_91; 
x_91 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(x_1, x_3, x_4, x_5, x_57, x_6, x_7, x_8, x_9, x_10);
return x_91;
}
}
}
}
}
else
{
uint8_t x_99; 
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_99 = !lean_is_exclusive(x_12);
if (x_99 == 0)
{
return x_12;
}
else
{
lean_object* x_100; lean_object* x_101; 
x_100 = lean_ctor_get(x_12, 0);
lean_inc(x_100);
lean_dec(x_12);
x_101 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_101, 0, x_100);
return x_101;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; uint8_t x_13; lean_object* x_14; 
x_12 = lean_unbox(x_4);
x_13 = lean_unbox(x_5);
x_14 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10);
return x_14;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_5 = lean_st_ref_take(x_1);
x_6 = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23___redArg(x_5, x_2, x_3);
x_7 = lean_st_ref_set(x_1, x_6);
x_8 = lean_box(0);
return x_8;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__2(x_1, x_2, x_3);
lean_dec(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_12; lean_object* x_13; uint8_t x_14; 
lean_inc(x_6);
x_12 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3);
lean_closure_set(x_12, 0, lean_box(0));
lean_closure_set(x_12, 1, lean_box(0));
lean_closure_set(x_12, 2, x_6);
x_13 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__0(lean_box(0), x_12, x_7, x_8, x_9, x_10);
x_14 = !lean_is_exclusive(x_13);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; 
x_15 = lean_ctor_get(x_13, 0);
x_16 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13___redArg(x_15, x_5);
lean_dec(x_15);
if (lean_obj_tag(x_16) == 0)
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
lean_free_object(x_13);
x_17 = lean_box(x_3);
x_18 = lean_box(x_4);
lean_inc_ref(x_5);
x_19 = lean_alloc_closure((void*)(l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1___boxed), 11, 5);
lean_closure_set(x_19, 0, x_1);
lean_closure_set(x_19, 1, x_5);
lean_closure_set(x_19, 2, x_2);
lean_closure_set(x_19, 3, x_17);
lean_closure_set(x_19, 4, x_18);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
x_20 = l_Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21___redArg(x_19, x_6, x_7, x_8, x_9, x_10);
if (lean_obj_tag(x_20) == 0)
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; 
x_21 = lean_ctor_get(x_20, 0);
lean_inc(x_21);
lean_dec_ref(x_20);
lean_inc(x_21);
x_22 = lean_alloc_closure((void*)(l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__2___boxed), 4, 3);
lean_closure_set(x_22, 0, x_6);
lean_closure_set(x_22, 1, x_5);
lean_closure_set(x_22, 2, x_21);
x_23 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__0(lean_box(0), x_22, x_7, x_8, x_9, x_10);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
x_24 = !lean_is_exclusive(x_23);
if (x_24 == 0)
{
lean_object* x_25; 
x_25 = lean_ctor_get(x_23, 0);
lean_dec(x_25);
lean_ctor_set(x_23, 0, x_21);
return x_23;
}
else
{
lean_object* x_26; 
lean_dec(x_23);
x_26 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_26, 0, x_21);
return x_26;
}
}
else
{
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
return x_20;
}
}
else
{
lean_object* x_27; 
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_27 = lean_ctor_get(x_16, 0);
lean_inc(x_27);
lean_dec_ref(x_16);
lean_ctor_set(x_13, 0, x_27);
return x_13;
}
}
else
{
lean_object* x_28; lean_object* x_29; 
x_28 = lean_ctor_get(x_13, 0);
lean_inc(x_28);
lean_dec(x_13);
x_29 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13___redArg(x_28, x_5);
lean_dec(x_28);
if (lean_obj_tag(x_29) == 0)
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 
x_30 = lean_box(x_3);
x_31 = lean_box(x_4);
lean_inc_ref(x_5);
x_32 = lean_alloc_closure((void*)(l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1___boxed), 11, 5);
lean_closure_set(x_32, 0, x_1);
lean_closure_set(x_32, 1, x_5);
lean_closure_set(x_32, 2, x_2);
lean_closure_set(x_32, 3, x_30);
lean_closure_set(x_32, 4, x_31);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
x_33 = l_Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21___redArg(x_32, x_6, x_7, x_8, x_9, x_10);
if (lean_obj_tag(x_33) == 0)
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; 
x_34 = lean_ctor_get(x_33, 0);
lean_inc(x_34);
lean_dec_ref(x_33);
lean_inc(x_34);
x_35 = lean_alloc_closure((void*)(l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__2___boxed), 4, 3);
lean_closure_set(x_35, 0, x_6);
lean_closure_set(x_35, 1, x_5);
lean_closure_set(x_35, 2, x_34);
x_36 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__0(lean_box(0), x_35, x_7, x_8, x_9, x_10);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
if (lean_is_exclusive(x_36)) {
 lean_ctor_release(x_36, 0);
 x_37 = x_36;
} else {
 lean_dec_ref(x_36);
 x_37 = lean_box(0);
}
if (lean_is_scalar(x_37)) {
 x_38 = lean_alloc_ctor(0, 1, 0);
} else {
 x_38 = x_37;
}
lean_ctor_set(x_38, 0, x_34);
return x_38;
}
else
{
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
return x_33;
}
}
else
{
lean_object* x_39; lean_object* x_40; 
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_39 = lean_ctor_get(x_29, 0);
lean_inc(x_39);
lean_dec_ref(x_29);
x_40 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_40, 0, x_39);
return x_40;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_12; 
lean_inc_ref(x_2);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc_ref(x_5);
x_12 = lean_apply_6(x_2, x_5, x_7, x_8, x_9, x_10, lean_box(0));
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_13; 
x_13 = !lean_is_exclusive(x_12);
if (x_13 == 0)
{
lean_object* x_14; 
x_14 = lean_ctor_get(x_12, 0);
switch (lean_obj_tag(x_14)) {
case 0:
{
lean_object* x_15; 
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_15 = lean_ctor_get(x_14, 0);
lean_inc_ref(x_15);
lean_dec_ref(x_14);
lean_ctor_set(x_12, 0, x_15);
return x_12;
}
case 1:
{
lean_object* x_16; lean_object* x_17; 
lean_free_object(x_12);
lean_dec_ref(x_5);
x_16 = lean_ctor_get(x_14, 0);
lean_inc_ref(x_16);
lean_dec_ref(x_14);
x_17 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_2, x_3, x_4, x_16, x_6, x_7, x_8, x_9, x_10);
return x_17;
}
default: 
{
lean_object* x_18; 
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_18 = lean_ctor_get(x_14, 0);
lean_inc(x_18);
lean_dec_ref(x_14);
if (lean_obj_tag(x_18) == 0)
{
lean_ctor_set(x_12, 0, x_5);
return x_12;
}
else
{
lean_object* x_19; 
lean_dec_ref(x_5);
x_19 = lean_ctor_get(x_18, 0);
lean_inc(x_19);
lean_dec_ref(x_18);
lean_ctor_set(x_12, 0, x_19);
return x_12;
}
}
}
}
else
{
lean_object* x_20; 
x_20 = lean_ctor_get(x_12, 0);
lean_inc(x_20);
lean_dec(x_12);
switch (lean_obj_tag(x_20)) {
case 0:
{
lean_object* x_21; lean_object* x_22; 
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_21 = lean_ctor_get(x_20, 0);
lean_inc_ref(x_21);
lean_dec_ref(x_20);
x_22 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_22, 0, x_21);
return x_22;
}
case 1:
{
lean_object* x_23; lean_object* x_24; 
lean_dec_ref(x_5);
x_23 = lean_ctor_get(x_20, 0);
lean_inc_ref(x_23);
lean_dec_ref(x_20);
x_24 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_2, x_3, x_4, x_23, x_6, x_7, x_8, x_9, x_10);
return x_24;
}
default: 
{
lean_object* x_25; 
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_25 = lean_ctor_get(x_20, 0);
lean_inc(x_25);
lean_dec_ref(x_20);
if (lean_obj_tag(x_25) == 0)
{
lean_object* x_26; 
x_26 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_26, 0, x_5);
return x_26;
}
else
{
lean_object* x_27; lean_object* x_28; 
lean_dec_ref(x_5);
x_27 = lean_ctor_get(x_25, 0);
lean_inc(x_27);
lean_dec_ref(x_25);
x_28 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_28, 0, x_27);
return x_28;
}
}
}
}
}
else
{
uint8_t x_29; 
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_29 = !lean_is_exclusive(x_12);
if (x_29 == 0)
{
return x_12;
}
else
{
lean_object* x_30; lean_object* x_31; 
x_30 = lean_ctor_get(x_12, 0);
lean_inc(x_30);
lean_dec(x_12);
x_31 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_31, 0, x_30);
return x_31;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_7 = lean_st_ref_get(x_5);
x_8 = lean_ctor_get(x_7, 0);
lean_inc_ref(x_8);
lean_dec(x_7);
x_9 = lean_st_ref_get(x_3);
x_10 = lean_ctor_get(x_9, 0);
lean_inc_ref(x_10);
lean_dec(x_9);
x_11 = lean_ctor_get(x_2, 2);
x_12 = lean_ctor_get(x_4, 2);
lean_inc(x_12);
lean_inc_ref(x_11);
x_13 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_13, 0, x_8);
lean_ctor_set(x_13, 1, x_10);
lean_ctor_set(x_13, 2, x_11);
lean_ctor_set(x_13, 3, x_12);
x_14 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_14, 0, x_13);
lean_ctor_set(x_14, 1, x_1);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_instHashableExtraModUse_hash___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_instBEqExtraModUse_beq___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__1;
x_2 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__0;
x_3 = l_Lean_PersistentHashMap_empty(lean_box(0), lean_box(0), x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = l___private_Lean_ExtraModUses_0__Lean_extraModUses;
return x_1;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0));
return x_1;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__4;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__5;
x_2 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_2, 0, x_1);
lean_ctor_set(x_2, 1, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__5;
x_2 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_2, 0, x_1);
lean_ctor_set(x_2, 1, x_1);
lean_ctor_set(x_2, 2, x_1);
lean_ctor_set(x_2, 3, x_1);
lean_ctor_set(x_2, 4, x_1);
lean_ctor_set(x_2, 5, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("extraModUses", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__8;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static double _init_l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__0() {
_start:
{
lean_object* x_1; double x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_float_of_nat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("", 0, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_8 = lean_ctor_get(x_5, 5);
x_9 = l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4_spec__4(x_2, x_3, x_4, x_5, x_6);
x_10 = !lean_is_exclusive(x_9);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; uint8_t x_13; 
x_11 = lean_ctor_get(x_9, 0);
x_12 = lean_st_ref_take(x_6);
x_13 = !lean_is_exclusive(x_12);
if (x_13 == 0)
{
lean_object* x_14; uint8_t x_15; 
x_14 = lean_ctor_get(x_12, 4);
x_15 = !lean_is_exclusive(x_14);
if (x_15 == 0)
{
lean_object* x_16; double x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_16 = lean_ctor_get(x_14, 0);
x_17 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__0;
x_18 = 0;
x_19 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__1;
x_20 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_20, 0, x_1);
lean_ctor_set(x_20, 1, x_19);
lean_ctor_set_float(x_20, sizeof(void*)*2, x_17);
lean_ctor_set_float(x_20, sizeof(void*)*2 + 8, x_17);
lean_ctor_set_uint8(x_20, sizeof(void*)*2 + 16, x_18);
x_21 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__2;
x_22 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_22, 0, x_20);
lean_ctor_set(x_22, 1, x_11);
lean_ctor_set(x_22, 2, x_21);
lean_inc(x_8);
x_23 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_23, 0, x_8);
lean_ctor_set(x_23, 1, x_22);
x_24 = l_Lean_PersistentArray_push___redArg(x_16, x_23);
lean_ctor_set(x_14, 0, x_24);
x_25 = lean_st_ref_set(x_6, x_12);
x_26 = lean_box(0);
lean_ctor_set(x_9, 0, x_26);
return x_9;
}
else
{
uint64_t x_27; lean_object* x_28; double x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_27 = lean_ctor_get_uint64(x_14, sizeof(void*)*1);
x_28 = lean_ctor_get(x_14, 0);
lean_inc(x_28);
lean_dec(x_14);
x_29 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__0;
x_30 = 0;
x_31 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__1;
x_32 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_32, 0, x_1);
lean_ctor_set(x_32, 1, x_31);
lean_ctor_set_float(x_32, sizeof(void*)*2, x_29);
lean_ctor_set_float(x_32, sizeof(void*)*2 + 8, x_29);
lean_ctor_set_uint8(x_32, sizeof(void*)*2 + 16, x_30);
x_33 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__2;
x_34 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_34, 0, x_32);
lean_ctor_set(x_34, 1, x_11);
lean_ctor_set(x_34, 2, x_33);
lean_inc(x_8);
x_35 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_35, 0, x_8);
lean_ctor_set(x_35, 1, x_34);
x_36 = l_Lean_PersistentArray_push___redArg(x_28, x_35);
x_37 = lean_alloc_ctor(0, 1, 8);
lean_ctor_set(x_37, 0, x_36);
lean_ctor_set_uint64(x_37, sizeof(void*)*1, x_27);
lean_ctor_set(x_12, 4, x_37);
x_38 = lean_st_ref_set(x_6, x_12);
x_39 = lean_box(0);
lean_ctor_set(x_9, 0, x_39);
return x_9;
}
}
else
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint64_t x_49; lean_object* x_50; lean_object* x_51; double x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; 
x_40 = lean_ctor_get(x_12, 4);
x_41 = lean_ctor_get(x_12, 0);
x_42 = lean_ctor_get(x_12, 1);
x_43 = lean_ctor_get(x_12, 2);
x_44 = lean_ctor_get(x_12, 3);
x_45 = lean_ctor_get(x_12, 5);
x_46 = lean_ctor_get(x_12, 6);
x_47 = lean_ctor_get(x_12, 7);
x_48 = lean_ctor_get(x_12, 8);
lean_inc(x_48);
lean_inc(x_47);
lean_inc(x_46);
lean_inc(x_45);
lean_inc(x_40);
lean_inc(x_44);
lean_inc(x_43);
lean_inc(x_42);
lean_inc(x_41);
lean_dec(x_12);
x_49 = lean_ctor_get_uint64(x_40, sizeof(void*)*1);
x_50 = lean_ctor_get(x_40, 0);
lean_inc_ref(x_50);
if (lean_is_exclusive(x_40)) {
 lean_ctor_release(x_40, 0);
 x_51 = x_40;
} else {
 lean_dec_ref(x_40);
 x_51 = lean_box(0);
}
x_52 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__0;
x_53 = 0;
x_54 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__1;
x_55 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_55, 0, x_1);
lean_ctor_set(x_55, 1, x_54);
lean_ctor_set_float(x_55, sizeof(void*)*2, x_52);
lean_ctor_set_float(x_55, sizeof(void*)*2 + 8, x_52);
lean_ctor_set_uint8(x_55, sizeof(void*)*2 + 16, x_53);
x_56 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__2;
x_57 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_57, 0, x_55);
lean_ctor_set(x_57, 1, x_11);
lean_ctor_set(x_57, 2, x_56);
lean_inc(x_8);
x_58 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_58, 0, x_8);
lean_ctor_set(x_58, 1, x_57);
x_59 = l_Lean_PersistentArray_push___redArg(x_50, x_58);
if (lean_is_scalar(x_51)) {
 x_60 = lean_alloc_ctor(0, 1, 8);
} else {
 x_60 = x_51;
}
lean_ctor_set(x_60, 0, x_59);
lean_ctor_set_uint64(x_60, sizeof(void*)*1, x_49);
x_61 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_61, 0, x_41);
lean_ctor_set(x_61, 1, x_42);
lean_ctor_set(x_61, 2, x_43);
lean_ctor_set(x_61, 3, x_44);
lean_ctor_set(x_61, 4, x_60);
lean_ctor_set(x_61, 5, x_45);
lean_ctor_set(x_61, 6, x_46);
lean_ctor_set(x_61, 7, x_47);
lean_ctor_set(x_61, 8, x_48);
x_62 = lean_st_ref_set(x_6, x_61);
x_63 = lean_box(0);
lean_ctor_set(x_9, 0, x_63);
return x_9;
}
}
else
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint64_t x_76; lean_object* x_77; lean_object* x_78; double x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; 
x_64 = lean_ctor_get(x_9, 0);
lean_inc(x_64);
lean_dec(x_9);
x_65 = lean_st_ref_take(x_6);
x_66 = lean_ctor_get(x_65, 4);
lean_inc_ref(x_66);
x_67 = lean_ctor_get(x_65, 0);
lean_inc_ref(x_67);
x_68 = lean_ctor_get(x_65, 1);
lean_inc(x_68);
x_69 = lean_ctor_get(x_65, 2);
lean_inc_ref(x_69);
x_70 = lean_ctor_get(x_65, 3);
lean_inc_ref(x_70);
x_71 = lean_ctor_get(x_65, 5);
lean_inc_ref(x_71);
x_72 = lean_ctor_get(x_65, 6);
lean_inc_ref(x_72);
x_73 = lean_ctor_get(x_65, 7);
lean_inc_ref(x_73);
x_74 = lean_ctor_get(x_65, 8);
lean_inc_ref(x_74);
if (lean_is_exclusive(x_65)) {
 lean_ctor_release(x_65, 0);
 lean_ctor_release(x_65, 1);
 lean_ctor_release(x_65, 2);
 lean_ctor_release(x_65, 3);
 lean_ctor_release(x_65, 4);
 lean_ctor_release(x_65, 5);
 lean_ctor_release(x_65, 6);
 lean_ctor_release(x_65, 7);
 lean_ctor_release(x_65, 8);
 x_75 = x_65;
} else {
 lean_dec_ref(x_65);
 x_75 = lean_box(0);
}
x_76 = lean_ctor_get_uint64(x_66, sizeof(void*)*1);
x_77 = lean_ctor_get(x_66, 0);
lean_inc_ref(x_77);
if (lean_is_exclusive(x_66)) {
 lean_ctor_release(x_66, 0);
 x_78 = x_66;
} else {
 lean_dec_ref(x_66);
 x_78 = lean_box(0);
}
x_79 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__0;
x_80 = 0;
x_81 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__1;
x_82 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_82, 0, x_1);
lean_ctor_set(x_82, 1, x_81);
lean_ctor_set_float(x_82, sizeof(void*)*2, x_79);
lean_ctor_set_float(x_82, sizeof(void*)*2 + 8, x_79);
lean_ctor_set_uint8(x_82, sizeof(void*)*2 + 16, x_80);
x_83 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__2;
x_84 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_84, 0, x_82);
lean_ctor_set(x_84, 1, x_64);
lean_ctor_set(x_84, 2, x_83);
lean_inc(x_8);
x_85 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_85, 0, x_8);
lean_ctor_set(x_85, 1, x_84);
x_86 = l_Lean_PersistentArray_push___redArg(x_77, x_85);
if (lean_is_scalar(x_78)) {
 x_87 = lean_alloc_ctor(0, 1, 8);
} else {
 x_87 = x_78;
}
lean_ctor_set(x_87, 0, x_86);
lean_ctor_set_uint64(x_87, sizeof(void*)*1, x_76);
if (lean_is_scalar(x_75)) {
 x_88 = lean_alloc_ctor(0, 9, 0);
} else {
 x_88 = x_75;
}
lean_ctor_set(x_88, 0, x_67);
lean_ctor_set(x_88, 1, x_68);
lean_ctor_set(x_88, 2, x_69);
lean_ctor_set(x_88, 3, x_70);
lean_ctor_set(x_88, 4, x_87);
lean_ctor_set(x_88, 5, x_71);
lean_ctor_set(x_88, 6, x_72);
lean_ctor_set(x_88, 7, x_73);
lean_ctor_set(x_88, 8, x_74);
x_89 = lean_st_ref_set(x_6, x_88);
x_90 = lean_box(0);
x_91 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_91, 0, x_90);
return x_91;
}
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" extra mod use ", 15, 15);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__10;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" of ", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__12;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__1;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("recording ", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__15;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" ", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__17;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__19() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("regular", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__20() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("meta", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__21() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("private", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__22() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("public", 6, 6);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_72; uint8_t x_73; 
x_9 = lean_st_ref_get(x_7);
x_10 = lean_ctor_get(x_9, 0);
lean_inc_ref(x_10);
lean_dec(x_9);
x_11 = lean_ctor_get_uint8(x_10, sizeof(void*)*8);
lean_dec_ref(x_10);
x_12 = lean_st_ref_get(x_7);
x_13 = lean_ctor_get(x_12, 0);
lean_inc_ref(x_13);
lean_dec(x_12);
x_14 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__2;
lean_inc(x_1);
x_15 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_15, 0, x_1);
lean_ctor_set_uint8(x_15, sizeof(void*)*1, x_11);
lean_ctor_set_uint8(x_15, sizeof(void*)*1 + 1, x_2);
x_16 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__3;
x_17 = lean_box(1);
x_18 = lean_box(0);
x_72 = l_Lean_SimplePersistentEnvExtension_getState___redArg(x_14, x_16, x_13, x_17, x_18);
x_73 = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0___redArg(x_72, x_15);
if (x_73 == 0)
{
lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_82; lean_object* x_83; uint8_t x_96; 
x_74 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__9;
x_75 = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__3___redArg(x_74, x_6);
x_76 = lean_ctor_get(x_75, 0);
lean_inc(x_76);
lean_dec_ref(x_75);
x_96 = lean_unbox(x_76);
lean_dec(x_76);
if (x_96 == 0)
{
lean_dec(x_3);
lean_dec(x_1);
x_19 = x_5;
x_20 = x_7;
x_21 = lean_box(0);
goto block_71;
}
else
{
lean_object* x_97; lean_object* x_98; 
x_97 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__16;
if (x_11 == 0)
{
lean_object* x_106; 
x_106 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__21;
x_98 = x_106;
goto block_105;
}
else
{
lean_object* x_107; 
x_107 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__22;
x_98 = x_107;
goto block_105;
}
block_105:
{
lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; 
x_99 = l_Lean_stringToMessageData(x_98);
x_100 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_100, 0, x_97);
lean_ctor_set(x_100, 1, x_99);
x_101 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__18;
x_102 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_102, 0, x_100);
lean_ctor_set(x_102, 1, x_101);
if (x_2 == 0)
{
lean_object* x_103; 
x_103 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__19;
x_82 = x_102;
x_83 = x_103;
goto block_95;
}
else
{
lean_object* x_104; 
x_104 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__20;
x_82 = x_102;
x_83 = x_104;
goto block_95;
}
}
}
block_81:
{
lean_object* x_79; lean_object* x_80; 
x_79 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_79, 0, x_77);
lean_ctor_set(x_79, 1, x_78);
x_80 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4(x_74, x_79, x_4, x_5, x_6, x_7);
lean_dec_ref(x_80);
x_19 = x_5;
x_20 = x_7;
x_21 = lean_box(0);
goto block_71;
}
block_95:
{
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; 
x_84 = l_Lean_stringToMessageData(x_83);
x_85 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_85, 0, x_82);
lean_ctor_set(x_85, 1, x_84);
x_86 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__11;
x_87 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_87, 0, x_85);
lean_ctor_set(x_87, 1, x_86);
x_88 = l_Lean_MessageData_ofName(x_1);
x_89 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_89, 0, x_87);
lean_ctor_set(x_89, 1, x_88);
x_90 = l_Lean_Name_isAnonymous(x_3);
if (x_90 == 0)
{
lean_object* x_91; lean_object* x_92; lean_object* x_93; 
x_91 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__13;
x_92 = l_Lean_MessageData_ofName(x_3);
x_93 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_93, 0, x_91);
lean_ctor_set(x_93, 1, x_92);
x_77 = x_89;
x_78 = x_93;
goto block_81;
}
else
{
lean_object* x_94; 
lean_dec(x_3);
x_94 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__14;
x_77 = x_89;
x_78 = x_94;
goto block_81;
}
}
}
else
{
lean_object* x_108; lean_object* x_109; 
lean_dec_ref(x_15);
lean_dec(x_3);
lean_dec(x_1);
x_108 = lean_box(0);
x_109 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_109, 0, x_108);
return x_109;
}
block_71:
{
lean_object* x_22; lean_object* x_23; uint8_t x_24; 
x_22 = lean_st_ref_take(x_20);
x_23 = lean_ctor_get(x_16, 0);
lean_inc_ref(x_23);
x_24 = !lean_is_exclusive(x_22);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; 
x_25 = lean_ctor_get(x_22, 0);
x_26 = lean_ctor_get(x_22, 5);
lean_dec(x_26);
x_27 = lean_ctor_get(x_23, 2);
lean_inc(x_27);
lean_dec_ref(x_23);
x_28 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_16, x_25, x_15, x_27, x_18);
lean_dec(x_27);
x_29 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__6;
lean_ctor_set(x_22, 5, x_29);
lean_ctor_set(x_22, 0, x_28);
x_30 = lean_st_ref_set(x_20, x_22);
x_31 = lean_st_ref_take(x_19);
x_32 = !lean_is_exclusive(x_31);
if (x_32 == 0)
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_33 = lean_ctor_get(x_31, 1);
lean_dec(x_33);
x_34 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__7;
lean_ctor_set(x_31, 1, x_34);
x_35 = lean_st_ref_set(x_19, x_31);
x_36 = lean_box(0);
x_37 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_37, 0, x_36);
return x_37;
}
else
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; 
x_38 = lean_ctor_get(x_31, 0);
x_39 = lean_ctor_get(x_31, 2);
x_40 = lean_ctor_get(x_31, 3);
x_41 = lean_ctor_get(x_31, 4);
lean_inc(x_41);
lean_inc(x_40);
lean_inc(x_39);
lean_inc(x_38);
lean_dec(x_31);
x_42 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__7;
x_43 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_43, 0, x_38);
lean_ctor_set(x_43, 1, x_42);
lean_ctor_set(x_43, 2, x_39);
lean_ctor_set(x_43, 3, x_40);
lean_ctor_set(x_43, 4, x_41);
x_44 = lean_st_ref_set(x_19, x_43);
x_45 = lean_box(0);
x_46 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_46, 0, x_45);
return x_46;
}
}
else
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; 
x_47 = lean_ctor_get(x_22, 0);
x_48 = lean_ctor_get(x_22, 1);
x_49 = lean_ctor_get(x_22, 2);
x_50 = lean_ctor_get(x_22, 3);
x_51 = lean_ctor_get(x_22, 4);
x_52 = lean_ctor_get(x_22, 6);
x_53 = lean_ctor_get(x_22, 7);
x_54 = lean_ctor_get(x_22, 8);
lean_inc(x_54);
lean_inc(x_53);
lean_inc(x_52);
lean_inc(x_51);
lean_inc(x_50);
lean_inc(x_49);
lean_inc(x_48);
lean_inc(x_47);
lean_dec(x_22);
x_55 = lean_ctor_get(x_23, 2);
lean_inc(x_55);
lean_dec_ref(x_23);
x_56 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_16, x_47, x_15, x_55, x_18);
lean_dec(x_55);
x_57 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__6;
x_58 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_58, 0, x_56);
lean_ctor_set(x_58, 1, x_48);
lean_ctor_set(x_58, 2, x_49);
lean_ctor_set(x_58, 3, x_50);
lean_ctor_set(x_58, 4, x_51);
lean_ctor_set(x_58, 5, x_57);
lean_ctor_set(x_58, 6, x_52);
lean_ctor_set(x_58, 7, x_53);
lean_ctor_set(x_58, 8, x_54);
x_59 = lean_st_ref_set(x_20, x_58);
x_60 = lean_st_ref_take(x_19);
x_61 = lean_ctor_get(x_60, 0);
lean_inc_ref(x_61);
x_62 = lean_ctor_get(x_60, 2);
lean_inc(x_62);
x_63 = lean_ctor_get(x_60, 3);
lean_inc_ref(x_63);
x_64 = lean_ctor_get(x_60, 4);
lean_inc_ref(x_64);
if (lean_is_exclusive(x_60)) {
 lean_ctor_release(x_60, 0);
 lean_ctor_release(x_60, 1);
 lean_ctor_release(x_60, 2);
 lean_ctor_release(x_60, 3);
 lean_ctor_release(x_60, 4);
 x_65 = x_60;
} else {
 lean_dec_ref(x_60);
 x_65 = lean_box(0);
}
x_66 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__7;
if (lean_is_scalar(x_65)) {
 x_67 = lean_alloc_ctor(0, 5, 0);
} else {
 x_67 = x_65;
}
lean_ctor_set(x_67, 0, x_61);
lean_ctor_set(x_67, 1, x_66);
lean_ctor_set(x_67, 2, x_62);
lean_ctor_set(x_67, 3, x_63);
lean_ctor_set(x_67, 4, x_64);
x_68 = lean_st_ref_set(x_19, x_67);
x_69 = lean_box(0);
x_70 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_70, 0, x_69);
return x_70;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_14; 
x_14 = lean_usize_dec_lt(x_7, x_6);
if (x_14 == 0)
{
lean_object* x_15; 
lean_dec(x_3);
lean_dec_ref(x_2);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_8);
return x_15;
}
else
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; size_t x_24; size_t x_25; 
x_16 = l_Lean_Environment_header(x_1);
x_17 = lean_ctor_get(x_16, 3);
lean_inc_ref(x_17);
lean_dec_ref(x_16);
x_18 = lean_array_uget(x_5, x_7);
lean_inc_ref(x_2);
x_19 = lean_array_get(x_2, x_17, x_18);
lean_dec(x_18);
lean_dec_ref(x_17);
x_20 = lean_ctor_get(x_19, 0);
lean_inc_ref(x_20);
lean_dec(x_19);
x_21 = lean_ctor_get(x_20, 0);
lean_inc(x_21);
lean_dec_ref(x_20);
x_22 = 0;
lean_inc(x_3);
x_23 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0(x_21, x_22, x_3, x_9, x_10, x_11, x_12);
lean_dec_ref(x_23);
x_24 = 1;
x_25 = lean_usize_add(x_7, x_24);
{
size_t _tmp_6 = x_25;
lean_object* _tmp_7 = x_4;
x_7 = _tmp_6;
x_8 = _tmp_7;
}
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_apply_1(x_2, lean_box(0));
x_9 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_9, 0, x_8);
return x_9;
}
}
static lean_object* _init_l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = lean_unsigned_to_nat(16u);
x_3 = lean_mk_array(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__0;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__1;
x_2 = lean_alloc_closure((void*)(l_ST_Prim_mkRef___boxed), 4, 3);
lean_closure_set(x_2, 0, lean_box(0));
lean_closure_set(x_2, 1, lean_box(0));
lean_closure_set(x_2, 2, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_11 = l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__2;
x_12 = l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___lam__0(lean_box(0), x_11, x_6, x_7, x_8, x_9);
x_13 = lean_ctor_get(x_12, 0);
lean_inc(x_13);
lean_dec_ref(x_12);
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_6);
lean_inc(x_13);
x_14 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_2, x_3, x_4, x_5, x_1, x_13, x_6, x_7, x_8, x_9);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
lean_dec_ref(x_14);
x_16 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3);
lean_closure_set(x_16, 0, lean_box(0));
lean_closure_set(x_16, 1, lean_box(0));
lean_closure_set(x_16, 2, x_13);
x_17 = l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___lam__0(lean_box(0), x_16, x_6, x_7, x_8, x_9);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
x_18 = !lean_is_exclusive(x_17);
if (x_18 == 0)
{
lean_object* x_19; 
x_19 = lean_ctor_get(x_17, 0);
lean_dec(x_19);
lean_ctor_set(x_17, 0, x_15);
return x_17;
}
else
{
lean_object* x_20; 
lean_dec(x_17);
x_20 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_20, 0, x_15);
return x_20;
}
}
else
{
lean_dec(x_13);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
return x_14;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_expandCoe___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; lean_object* x_8; 
x_7 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_7, 0, x_1);
x_8 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
static lean_object* _init_l_Lean_Meta_expandCoe___lam__1___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Name_hash___override___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Name_beq___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__1;
x_2 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__0;
x_3 = l_Std_HashMap_instInhabited(lean_box(0), lean_box(0), x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_instInhabitedEffectiveImport_default;
return x_1;
}
}
static lean_object* _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_indirectModUseExt;
return x_1;
}
}
static lean_object* _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; lean_object* x_12; lean_object* x_13; 
x_8 = lean_st_ref_get(x_6);
x_12 = lean_ctor_get(x_8, 0);
lean_inc_ref(x_12);
lean_dec(x_8);
x_13 = l_Lean_Environment_getModuleIdxFor_x3f(x_12, x_1);
if (lean_obj_tag(x_13) == 0)
{
lean_dec_ref(x_12);
lean_dec(x_1);
goto block_11;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_14 = lean_ctor_get(x_13, 0);
lean_inc(x_14);
lean_dec_ref(x_13);
x_15 = l_Lean_Environment_header(x_12);
x_16 = lean_ctor_get(x_15, 3);
lean_inc_ref(x_16);
lean_dec_ref(x_15);
x_17 = lean_array_get_size(x_16);
x_18 = lean_nat_dec_lt(x_14, x_17);
lean_dec(x_17);
if (x_18 == 0)
{
lean_dec_ref(x_16);
lean_dec(x_14);
lean_dec_ref(x_12);
lean_dec(x_1);
goto block_11;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_33; uint8_t x_34; 
x_19 = lean_st_ref_get(x_6);
x_20 = lean_ctor_get(x_19, 0);
lean_inc_ref(x_20);
lean_dec(x_19);
x_21 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__2;
x_22 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__3;
x_33 = lean_array_fget(x_16, x_14);
lean_dec(x_14);
lean_dec_ref(x_16);
if (x_2 == 0)
{
lean_dec_ref(x_20);
x_34 = x_2;
goto block_45;
}
else
{
uint8_t x_46; 
lean_inc(x_1);
x_46 = l_Lean_isMarkedMeta(x_20, x_1);
if (x_46 == 0)
{
x_34 = x_2;
goto block_45;
}
else
{
uint8_t x_47; 
x_47 = 0;
x_34 = x_47;
goto block_45;
}
}
block_32:
{
lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; uint8_t x_29; 
x_25 = lean_box(0);
x_26 = lean_array_size(x_24);
x_27 = 0;
x_28 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__7(x_12, x_22, x_1, x_25, x_24, x_26, x_27, x_25, x_3, x_4, x_5, x_6);
lean_dec_ref(x_24);
lean_dec_ref(x_12);
x_29 = !lean_is_exclusive(x_28);
if (x_29 == 0)
{
lean_object* x_30; 
x_30 = lean_ctor_get(x_28, 0);
lean_dec(x_30);
lean_ctor_set(x_28, 0, x_25);
return x_28;
}
else
{
lean_object* x_31; 
lean_dec(x_28);
x_31 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_31, 0, x_25);
return x_31;
}
}
block_45:
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; 
x_35 = lean_ctor_get(x_33, 0);
lean_inc_ref(x_35);
lean_dec(x_33);
x_36 = lean_ctor_get(x_35, 0);
lean_inc(x_36);
lean_dec_ref(x_35);
lean_inc(x_1);
x_37 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0(x_36, x_34, x_1, x_3, x_4, x_5, x_6);
lean_dec_ref(x_37);
x_38 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__4;
x_39 = lean_box(1);
x_40 = lean_box(0);
lean_inc_ref(x_12);
x_41 = l_Lean_SimplePersistentEnvExtension_getState___redArg(x_21, x_38, x_12, x_39, x_40);
x_42 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8___redArg(x_41, x_1);
lean_dec(x_41);
if (lean_obj_tag(x_42) == 0)
{
lean_object* x_43; 
x_43 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__5;
x_23 = lean_box(0);
x_24 = x_43;
goto block_32;
}
else
{
lean_object* x_44; 
x_44 = lean_ctor_get(x_42, 0);
lean_inc(x_44);
lean_dec_ref(x_42);
x_23 = lean_box(0);
x_24 = x_44;
goto block_32;
}
}
}
}
block_11:
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_box(0);
x_10 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_10, 0, x_9);
return x_10;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_expandCoe___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; lean_object* x_11; uint8_t x_12; 
x_11 = l_Lean_Expr_getAppFn(x_1);
x_12 = l_Lean_Expr_isConst(x_11);
if (x_12 == 0)
{
lean_dec_ref(x_11);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_7 = lean_box(0);
goto block_10;
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_13 = lean_st_ref_get(x_5);
x_14 = lean_ctor_get(x_13, 0);
lean_inc_ref(x_14);
lean_dec(x_13);
x_15 = l_Lean_Expr_constName_x21(x_11);
lean_dec_ref(x_11);
lean_inc(x_15);
x_16 = l_Lean_Meta_isCoeDecl(x_14, x_15);
if (x_16 == 0)
{
lean_dec(x_15);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_7 = lean_box(0);
goto block_10;
}
else
{
lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; 
lean_inc_ref(x_1);
x_17 = l___private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget(x_1, x_15, x_2, x_3, x_4, x_5);
x_18 = lean_ctor_get(x_17, 0);
lean_inc(x_18);
lean_dec_ref(x_17);
x_19 = 0;
x_20 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0(x_18, x_19, x_2, x_3, x_4, x_5);
lean_dec_ref(x_20);
x_21 = l_Lean_Meta_unfoldDefinition_x3f(x_1, x_19, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_21) == 0)
{
uint8_t x_22; 
x_22 = !lean_is_exclusive(x_21);
if (x_22 == 0)
{
lean_object* x_23; 
x_23 = lean_ctor_get(x_21, 0);
if (lean_obj_tag(x_23) == 1)
{
uint8_t x_24; 
x_24 = !lean_is_exclusive(x_23);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; 
x_25 = lean_ctor_get(x_23, 0);
x_26 = l_Lean_Expr_headBeta(x_25);
lean_ctor_set(x_23, 0, x_26);
return x_21;
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_27 = lean_ctor_get(x_23, 0);
lean_inc(x_27);
lean_dec(x_23);
x_28 = l_Lean_Expr_headBeta(x_27);
x_29 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_29, 0, x_28);
lean_ctor_set(x_21, 0, x_29);
return x_21;
}
}
else
{
lean_free_object(x_21);
lean_dec(x_23);
x_7 = lean_box(0);
goto block_10;
}
}
else
{
lean_object* x_30; 
x_30 = lean_ctor_get(x_21, 0);
lean_inc(x_30);
lean_dec(x_21);
if (lean_obj_tag(x_30) == 1)
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_31 = lean_ctor_get(x_30, 0);
lean_inc(x_31);
if (lean_is_exclusive(x_30)) {
 lean_ctor_release(x_30, 0);
 x_32 = x_30;
} else {
 lean_dec_ref(x_30);
 x_32 = lean_box(0);
}
x_33 = l_Lean_Expr_headBeta(x_31);
if (lean_is_scalar(x_32)) {
 x_34 = lean_alloc_ctor(1, 1, 0);
} else {
 x_34 = x_32;
}
lean_ctor_set(x_34, 0, x_33);
x_35 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_35, 0, x_34);
return x_35;
}
else
{
lean_dec(x_30);
x_7 = lean_box(0);
goto block_10;
}
}
}
else
{
uint8_t x_36; 
x_36 = !lean_is_exclusive(x_21);
if (x_36 == 0)
{
return x_21;
}
else
{
lean_object* x_37; lean_object* x_38; 
x_37 = lean_ctor_get(x_21, 0);
lean_inc(x_37);
lean_dec(x_21);
x_38 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_38, 0, x_37);
return x_38;
}
}
}
}
block_10:
{
lean_object* x_8; lean_object* x_9; 
x_8 = l_Lean_Meta_expandCoe___lam__1___closed__0;
x_9 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_9, 0, x_8);
return x_9;
}
}
}
static uint64_t _init_l_Lean_Meta_expandCoe___closed__0() {
_start:
{
uint8_t x_1; uint64_t x_2; 
x_1 = 3;
x_2 = l_Lean_Meta_TransparencyMode_toUInt64(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_expandCoe___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_expandCoe___lam__0(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_expandCoe___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_expandCoe___lam__1(x_1, x_2, x_3, x_4, x_5);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_expandCoe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_Context_config(x_2);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21; uint64_t x_22; uint8_t x_23; 
x_9 = lean_ctor_get_uint8(x_2, sizeof(void*)*7);
x_10 = lean_ctor_get(x_2, 1);
lean_inc(x_10);
x_11 = lean_ctor_get(x_2, 2);
lean_inc_ref(x_11);
x_12 = lean_ctor_get(x_2, 3);
lean_inc_ref(x_12);
x_13 = lean_ctor_get(x_2, 4);
lean_inc(x_13);
x_14 = lean_ctor_get(x_2, 5);
lean_inc(x_14);
x_15 = lean_ctor_get(x_2, 6);
lean_inc(x_15);
x_16 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 1);
x_17 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 2);
x_18 = lean_alloc_closure((void*)(l_Lean_Meta_expandCoe___lam__0___boxed), 6, 0);
x_19 = lean_alloc_closure((void*)(l_Lean_Meta_expandCoe___lam__1___boxed), 6, 0);
x_20 = 0;
x_21 = 3;
lean_ctor_set_uint8(x_7, 9, x_21);
x_22 = l_Lean_Meta_Context_configKey(x_2);
x_23 = !lean_is_exclusive(x_2);
if (x_23 == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint64_t x_31; uint64_t x_32; uint64_t x_33; uint64_t x_34; uint64_t x_35; lean_object* x_36; lean_object* x_37; 
x_24 = lean_ctor_get(x_2, 6);
lean_dec(x_24);
x_25 = lean_ctor_get(x_2, 5);
lean_dec(x_25);
x_26 = lean_ctor_get(x_2, 4);
lean_dec(x_26);
x_27 = lean_ctor_get(x_2, 3);
lean_dec(x_27);
x_28 = lean_ctor_get(x_2, 2);
lean_dec(x_28);
x_29 = lean_ctor_get(x_2, 1);
lean_dec(x_29);
x_30 = lean_ctor_get(x_2, 0);
lean_dec(x_30);
x_31 = 2;
x_32 = lean_uint64_shift_right(x_22, x_31);
x_33 = lean_uint64_shift_left(x_32, x_31);
x_34 = l_Lean_Meta_expandCoe___closed__0;
x_35 = lean_uint64_lor(x_33, x_34);
x_36 = lean_alloc_ctor(0, 1, 8);
lean_ctor_set(x_36, 0, x_7);
lean_ctor_set_uint64(x_36, sizeof(void*)*1, x_35);
lean_ctor_set(x_2, 0, x_36);
x_37 = l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11(x_1, x_19, x_18, x_20, x_20, x_2, x_3, x_4, x_5);
return x_37;
}
else
{
uint64_t x_38; uint64_t x_39; uint64_t x_40; uint64_t x_41; uint64_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; 
lean_dec(x_2);
x_38 = 2;
x_39 = lean_uint64_shift_right(x_22, x_38);
x_40 = lean_uint64_shift_left(x_39, x_38);
x_41 = l_Lean_Meta_expandCoe___closed__0;
x_42 = lean_uint64_lor(x_40, x_41);
x_43 = lean_alloc_ctor(0, 1, 8);
lean_ctor_set(x_43, 0, x_7);
lean_ctor_set_uint64(x_43, sizeof(void*)*1, x_42);
x_44 = lean_alloc_ctor(0, 7, 3);
lean_ctor_set(x_44, 0, x_43);
lean_ctor_set(x_44, 1, x_10);
lean_ctor_set(x_44, 2, x_11);
lean_ctor_set(x_44, 3, x_12);
lean_ctor_set(x_44, 4, x_13);
lean_ctor_set(x_44, 5, x_14);
lean_ctor_set(x_44, 6, x_15);
lean_ctor_set_uint8(x_44, sizeof(void*)*7, x_9);
lean_ctor_set_uint8(x_44, sizeof(void*)*7 + 1, x_16);
lean_ctor_set_uint8(x_44, sizeof(void*)*7 + 2, x_17);
x_45 = l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11(x_1, x_19, x_18, x_20, x_20, x_44, x_3, x_4, x_5);
return x_45;
}
}
else
{
uint8_t x_46; uint8_t x_47; uint8_t x_48; uint8_t x_49; uint8_t x_50; uint8_t x_51; uint8_t x_52; uint8_t x_53; uint8_t x_54; uint8_t x_55; uint8_t x_56; uint8_t x_57; uint8_t x_58; uint8_t x_59; uint8_t x_60; uint8_t x_61; uint8_t x_62; uint8_t x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; uint8_t x_76; lean_object* x_77; uint64_t x_78; lean_object* x_79; uint64_t x_80; uint64_t x_81; uint64_t x_82; uint64_t x_83; uint64_t x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; 
x_46 = lean_ctor_get_uint8(x_7, 0);
x_47 = lean_ctor_get_uint8(x_7, 1);
x_48 = lean_ctor_get_uint8(x_7, 2);
x_49 = lean_ctor_get_uint8(x_7, 3);
x_50 = lean_ctor_get_uint8(x_7, 4);
x_51 = lean_ctor_get_uint8(x_7, 5);
x_52 = lean_ctor_get_uint8(x_7, 6);
x_53 = lean_ctor_get_uint8(x_7, 7);
x_54 = lean_ctor_get_uint8(x_7, 8);
x_55 = lean_ctor_get_uint8(x_7, 10);
x_56 = lean_ctor_get_uint8(x_7, 11);
x_57 = lean_ctor_get_uint8(x_7, 12);
x_58 = lean_ctor_get_uint8(x_7, 13);
x_59 = lean_ctor_get_uint8(x_7, 14);
x_60 = lean_ctor_get_uint8(x_7, 15);
x_61 = lean_ctor_get_uint8(x_7, 16);
x_62 = lean_ctor_get_uint8(x_7, 17);
x_63 = lean_ctor_get_uint8(x_7, 18);
lean_dec(x_7);
x_64 = lean_ctor_get_uint8(x_2, sizeof(void*)*7);
x_65 = lean_ctor_get(x_2, 1);
lean_inc(x_65);
x_66 = lean_ctor_get(x_2, 2);
lean_inc_ref(x_66);
x_67 = lean_ctor_get(x_2, 3);
lean_inc_ref(x_67);
x_68 = lean_ctor_get(x_2, 4);
lean_inc(x_68);
x_69 = lean_ctor_get(x_2, 5);
lean_inc(x_69);
x_70 = lean_ctor_get(x_2, 6);
lean_inc(x_70);
x_71 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 1);
x_72 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 2);
x_73 = lean_alloc_closure((void*)(l_Lean_Meta_expandCoe___lam__0___boxed), 6, 0);
x_74 = lean_alloc_closure((void*)(l_Lean_Meta_expandCoe___lam__1___boxed), 6, 0);
x_75 = 0;
x_76 = 3;
x_77 = lean_alloc_ctor(0, 0, 19);
lean_ctor_set_uint8(x_77, 0, x_46);
lean_ctor_set_uint8(x_77, 1, x_47);
lean_ctor_set_uint8(x_77, 2, x_48);
lean_ctor_set_uint8(x_77, 3, x_49);
lean_ctor_set_uint8(x_77, 4, x_50);
lean_ctor_set_uint8(x_77, 5, x_51);
lean_ctor_set_uint8(x_77, 6, x_52);
lean_ctor_set_uint8(x_77, 7, x_53);
lean_ctor_set_uint8(x_77, 8, x_54);
lean_ctor_set_uint8(x_77, 9, x_76);
lean_ctor_set_uint8(x_77, 10, x_55);
lean_ctor_set_uint8(x_77, 11, x_56);
lean_ctor_set_uint8(x_77, 12, x_57);
lean_ctor_set_uint8(x_77, 13, x_58);
lean_ctor_set_uint8(x_77, 14, x_59);
lean_ctor_set_uint8(x_77, 15, x_60);
lean_ctor_set_uint8(x_77, 16, x_61);
lean_ctor_set_uint8(x_77, 17, x_62);
lean_ctor_set_uint8(x_77, 18, x_63);
x_78 = l_Lean_Meta_Context_configKey(x_2);
if (lean_is_exclusive(x_2)) {
 lean_ctor_release(x_2, 0);
 lean_ctor_release(x_2, 1);
 lean_ctor_release(x_2, 2);
 lean_ctor_release(x_2, 3);
 lean_ctor_release(x_2, 4);
 lean_ctor_release(x_2, 5);
 lean_ctor_release(x_2, 6);
 x_79 = x_2;
} else {
 lean_dec_ref(x_2);
 x_79 = lean_box(0);
}
x_80 = 2;
x_81 = lean_uint64_shift_right(x_78, x_80);
x_82 = lean_uint64_shift_left(x_81, x_80);
x_83 = l_Lean_Meta_expandCoe___closed__0;
x_84 = lean_uint64_lor(x_82, x_83);
x_85 = lean_alloc_ctor(0, 1, 8);
lean_ctor_set(x_85, 0, x_77);
lean_ctor_set_uint64(x_85, sizeof(void*)*1, x_84);
if (lean_is_scalar(x_79)) {
 x_86 = lean_alloc_ctor(0, 7, 3);
} else {
 x_86 = x_79;
}
lean_ctor_set(x_86, 0, x_85);
lean_ctor_set(x_86, 1, x_65);
lean_ctor_set(x_86, 2, x_66);
lean_ctor_set(x_86, 3, x_67);
lean_ctor_set(x_86, 4, x_68);
lean_ctor_set(x_86, 5, x_69);
lean_ctor_set(x_86, 6, x_70);
lean_ctor_set_uint8(x_86, sizeof(void*)*7, x_64);
lean_ctor_set_uint8(x_86, sizeof(void*)*7 + 1, x_71);
lean_ctor_set_uint8(x_86, sizeof(void*)*7 + 2, x_72);
x_87 = l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11(x_1, x_74, x_73, x_75, x_75, x_86, x_3, x_4, x_5);
return x_87;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; lean_object* x_16; 
x_14 = lean_unbox(x_6);
x_15 = lean_unbox(x_7);
x_16 = l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_10, x_11, x_12);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15_spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_13; uint8_t x_14; lean_object* x_15; 
x_13 = lean_unbox(x_3);
x_14 = lean_unbox(x_6);
x_15 = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15_spec__15(x_1, x_2, x_13, x_4, x_5, x_14, x_7, x_8, x_9, x_10, x_11);
return x_15;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0(x_1, x_2, x_3);
lean_dec_ref(x_3);
x_5 = lean_box(x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
uint8_t x_7; lean_object* x_8; 
x_7 = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec_ref(x_6);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
x_8 = lean_box(x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; uint8_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_6 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_5, x_4);
lean_dec_ref(x_4);
x_7 = lean_box(x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__3(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__23___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__23(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec_ref(x_2);
x_5 = lean_box(x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8_spec__8(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13_spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13_spec__13(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13(x_1, x_2, x_3);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0___redArg(x_1, x_2);
lean_dec_ref(x_2);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__3___redArg(x_1, x_2);
lean_dec_ref(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_13; uint8_t x_14; lean_object* x_15; 
x_13 = lean_unbox(x_5);
x_14 = lean_unbox(x_6);
x_15 = l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18_spec__18___redArg(x_1, x_2, x_3, x_4, x_13, x_14, x_7, x_8, x_9, x_10, x_11);
return x_15;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15_spec__15___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; uint8_t x_13; lean_object* x_14; 
x_12 = lean_unbox(x_2);
x_13 = lean_unbox(x_5);
x_14 = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15_spec__15___redArg(x_1, x_12, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__23___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__23_spec__23___redArg(x_1, x_2);
lean_dec(x_2);
lean_dec_ref(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8_spec__8___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8_spec__8___redArg(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13_spec__13___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13_spec__13___redArg(x_1, x_2);
lean_dec(x_2);
lean_dec_ref(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_5 = lean_box(x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; uint8_t x_13; lean_object* x_14; 
x_12 = lean_unbox(x_3);
x_13 = lean_unbox(x_4);
x_14 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__12(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21___redArg(x_1, x_2, x_3, x_4, x_5, x_6);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__8___redArg(x_1, x_2);
lean_dec(x_2);
lean_dec_ref(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__13___redArg(x_1, x_2);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; size_t x_16; size_t x_17; lean_object* x_18; 
x_14 = lean_unbox(x_3);
x_15 = lean_unbox(x_4);
x_16 = lean_unbox_usize(x_5);
lean_dec(x_5);
x_17 = lean_unbox_usize(x_6);
lean_dec(x_6);
x_18 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__11(x_1, x_2, x_14, x_15, x_16, x_17, x_7, x_8, x_9, x_10, x_11, x_12);
return x_18;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; uint8_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_5 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_4, x_3);
lean_dec_ref(x_3);
x_6 = lean_box(x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
size_t x_14; size_t x_15; lean_object* x_16; 
x_14 = lean_unbox_usize(x_6);
lean_dec(x_6);
x_15 = lean_unbox_usize(x_7);
lean_dec(x_7);
x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__7(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_10, x_11, x_12);
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec_ref(x_5);
lean_dec_ref(x_1);
return x_16;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_13; uint8_t x_14; lean_object* x_15; 
x_13 = lean_unbox(x_3);
x_14 = lean_unbox(x_4);
x_15 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__15(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
return x_15;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_13; uint8_t x_14; lean_object* x_15; 
x_13 = lean_unbox(x_3);
x_14 = lean_unbox(x_4);
x_15 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__17(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
return x_15;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___lam__0(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_11; uint8_t x_12; lean_object* x_13; 
x_11 = lean_unbox(x_4);
x_12 = lean_unbox(x_5);
x_13 = l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11(x_1, x_2, x_3, x_11, x_12, x_6, x_7, x_8, x_9);
return x_13;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_13; uint8_t x_14; lean_object* x_15; 
x_13 = lean_unbox(x_3);
x_14 = lean_unbox(x_4);
x_15 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__18(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
return x_15;
}
}
LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; lean_object* x_16; 
x_14 = lean_unbox(x_3);
x_15 = lean_unbox(x_4);
x_16 = l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__20(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_expandCoe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_expandCoe(x_1, x_2, x_3, x_4, x_5);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_8; lean_object* x_9; 
x_8 = lean_unbox(x_2);
x_9 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0(x_1, x_8, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_9;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__0(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_8;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; uint8_t x_13; lean_object* x_14; 
x_12 = lean_unbox(x_3);
x_13 = lean_unbox(x_4);
x_14 = l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10);
return x_14;
}
}
LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
uint8_t x_9; lean_object* x_10; 
x_9 = lean_unbox(x_2);
x_10 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0(x_1, x_9, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec(x_5);
lean_dec_ref(x_4);
return x_10;
}
}
static lean_object* _init_l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("autoLift", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Insert monadic lifts (i.e., `liftM` and coercions) when needed.", 63, 63);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn___closed__3_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_;
x_2 = 1;
x_3 = lean_box(x_2);
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Meta_initFn___closed__4_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_;
x_2 = l_Lean_Meta_initFn___closed__4_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
x_3 = l_Lean_Meta_initFn___closed__3_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_register___at___00Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4__spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_5; 
x_5 = !lean_is_exclusive(x_2);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; 
x_6 = lean_ctor_get(x_2, 0);
x_7 = lean_ctor_get(x_2, 1);
x_8 = lean_alloc_ctor(1, 0, 1);
x_9 = lean_unbox(x_6);
lean_ctor_set_uint8(x_8, 0, x_9);
lean_inc(x_1);
x_10 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_10, 0, x_1);
lean_ctor_set(x_10, 1, x_3);
lean_ctor_set(x_10, 2, x_8);
lean_ctor_set(x_10, 3, x_7);
lean_inc(x_1);
x_11 = lean_register_option(x_1, x_10);
if (lean_obj_tag(x_11) == 0)
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_11);
if (x_12 == 0)
{
lean_object* x_13; 
x_13 = lean_ctor_get(x_11, 0);
lean_dec(x_13);
lean_ctor_set(x_2, 1, x_6);
lean_ctor_set(x_2, 0, x_1);
lean_ctor_set(x_11, 0, x_2);
return x_11;
}
else
{
lean_object* x_14; 
lean_dec(x_11);
lean_ctor_set(x_2, 1, x_6);
lean_ctor_set(x_2, 0, x_1);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_2);
return x_14;
}
}
else
{
uint8_t x_15; 
lean_free_object(x_2);
lean_dec(x_6);
lean_dec(x_1);
x_15 = !lean_is_exclusive(x_11);
if (x_15 == 0)
{
return x_11;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_11, 0);
lean_inc(x_16);
lean_dec(x_11);
x_17 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_17, 0, x_16);
return x_17;
}
}
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; 
x_18 = lean_ctor_get(x_2, 0);
x_19 = lean_ctor_get(x_2, 1);
lean_inc(x_19);
lean_inc(x_18);
lean_dec(x_2);
x_20 = lean_alloc_ctor(1, 0, 1);
x_21 = lean_unbox(x_18);
lean_ctor_set_uint8(x_20, 0, x_21);
lean_inc(x_1);
x_22 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_22, 0, x_1);
lean_ctor_set(x_22, 1, x_3);
lean_ctor_set(x_22, 2, x_20);
lean_ctor_set(x_22, 3, x_19);
lean_inc(x_1);
x_23 = lean_register_option(x_1, x_22);
if (lean_obj_tag(x_23) == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; 
if (lean_is_exclusive(x_23)) {
 lean_ctor_release(x_23, 0);
 x_24 = x_23;
} else {
 lean_dec_ref(x_23);
 x_24 = lean_box(0);
}
x_25 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_25, 0, x_1);
lean_ctor_set(x_25, 1, x_18);
if (lean_is_scalar(x_24)) {
 x_26 = lean_alloc_ctor(0, 1, 0);
} else {
 x_26 = x_24;
}
lean_ctor_set(x_26, 0, x_25);
return x_26;
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; 
lean_dec(x_18);
lean_dec(x_1);
x_27 = lean_ctor_get(x_23, 0);
lean_inc(x_27);
if (lean_is_exclusive(x_23)) {
 lean_ctor_release(x_23, 0);
 x_28 = x_23;
} else {
 lean_dec_ref(x_23);
 x_28 = lean_box(0);
}
if (lean_is_scalar(x_28)) {
 x_29 = lean_alloc_ctor(1, 1, 0);
} else {
 x_29 = x_28;
}
lean_ctor_set(x_29, 0, x_27);
return x_29;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_() {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_;
x_3 = l_Lean_Meta_initFn___closed__3_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_;
x_4 = l_Lean_Meta_initFn___closed__4_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_;
x_5 = l_Lean_Option_register___at___00Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4__spec__0(x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4____boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_();
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_register___at___00Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4__spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Option_register___at___00Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4__spec__0(x_1, x_2, x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_7 = lean_ctor_get(x_4, 5);
x_8 = l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4_spec__4(x_1, x_2, x_3, x_4, x_5);
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; 
x_10 = lean_ctor_get(x_8, 0);
lean_inc(x_7);
x_11 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_11, 0, x_7);
lean_ctor_set(x_11, 1, x_10);
lean_ctor_set_tag(x_8, 1);
lean_ctor_set(x_8, 0, x_11);
return x_8;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_12 = lean_ctor_get(x_8, 0);
lean_inc(x_12);
lean_dec(x_8);
lean_inc(x_7);
x_13 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_13, 0, x_7);
lean_ctor_set(x_13, 1, x_12);
x_14 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg(x_2, x_3, x_4, x_5, x_6);
return x_8;
}
}
static lean_object* _init_l_Lean_Meta_coerceSimple_x3f___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("CoeT", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceSimple_x3f___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_coerceSimple_x3f___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceSimple_x3f___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(3u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceSimple_x3f___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("coe", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceSimple_x3f___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Meta_coerceSimple_x3f___closed__3;
x_2 = l_Lean_Meta_coerceSimple_x3f___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_coerceSimple_x3f___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(4u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceSimple_x3f___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Could not coerce", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceSimple_x3f___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_coerceSimple_x3f___closed__6;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceSimple_x3f___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("\nto", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceSimple_x3f___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_coerceSimple_x3f___closed__8;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceSimple_x3f___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("\ncoerced expression has wrong type:", 35, 35);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceSimple_x3f___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_coerceSimple_x3f___closed__10;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_coerceSimple_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; 
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_1);
x_8 = lean_infer_type(x_1, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_8) == 0)
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_ctor_get(x_8, 0);
lean_inc(x_9);
lean_dec_ref(x_8);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_9);
x_10 = l_Lean_Meta_getLevel(x_9, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_10) == 0)
{
lean_object* x_11; lean_object* x_12; 
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
lean_dec_ref(x_10);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_2);
x_12 = l_Lean_Meta_getLevel(x_2, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_12) == 0)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_13 = lean_ctor_get(x_12, 0);
lean_inc(x_13);
lean_dec_ref(x_12);
x_14 = l_Lean_Meta_coerceSimple_x3f___closed__1;
x_15 = lean_box(0);
x_16 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_16, 0, x_13);
lean_ctor_set(x_16, 1, x_15);
x_17 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_17, 0, x_11);
lean_ctor_set(x_17, 1, x_16);
lean_inc_ref(x_17);
x_18 = l_Lean_mkConst(x_14, x_17);
x_19 = l_Lean_Meta_coerceSimple_x3f___closed__2;
lean_inc(x_9);
x_20 = lean_array_push(x_19, x_9);
lean_inc_ref(x_1);
x_21 = lean_array_push(x_20, x_1);
lean_inc_ref(x_2);
x_22 = lean_array_push(x_21, x_2);
x_23 = l_Lean_mkAppN(x_18, x_22);
lean_dec_ref(x_22);
x_24 = lean_box(0);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_25 = l_Lean_Meta_trySynthInstance(x_23, x_24, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_25) == 0)
{
lean_object* x_26; 
x_26 = lean_ctor_get(x_25, 0);
lean_inc(x_26);
if (lean_obj_tag(x_26) == 1)
{
uint8_t x_27; 
lean_dec_ref(x_25);
x_27 = !lean_is_exclusive(x_26);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_28 = lean_ctor_get(x_26, 0);
x_29 = l_Lean_Meta_coerceSimple_x3f___closed__4;
x_30 = l_Lean_mkConst(x_29, x_17);
x_31 = l_Lean_Meta_coerceSimple_x3f___closed__5;
x_32 = lean_array_push(x_31, x_9);
lean_inc_ref(x_1);
x_33 = lean_array_push(x_32, x_1);
lean_inc_ref(x_2);
x_34 = lean_array_push(x_33, x_2);
x_35 = lean_array_push(x_34, x_28);
x_36 = l_Lean_mkAppN(x_30, x_35);
lean_dec_ref(x_35);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_37 = l_Lean_Meta_expandCoe(x_36, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_37) == 0)
{
lean_object* x_38; lean_object* x_39; 
x_38 = lean_ctor_get(x_37, 0);
lean_inc(x_38);
lean_dec_ref(x_37);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_38);
x_39 = lean_infer_type(x_38, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_39) == 0)
{
lean_object* x_40; lean_object* x_41; 
x_40 = lean_ctor_get(x_39, 0);
lean_inc(x_40);
lean_dec_ref(x_39);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_2);
x_41 = l_Lean_Meta_isExprDefEq(x_40, x_2, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_41) == 0)
{
uint8_t x_42; 
x_42 = !lean_is_exclusive(x_41);
if (x_42 == 0)
{
lean_object* x_43; uint8_t x_44; 
x_43 = lean_ctor_get(x_41, 0);
x_44 = lean_unbox(x_43);
lean_dec(x_43);
if (x_44 == 0)
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; 
lean_free_object(x_41);
lean_free_object(x_26);
x_45 = l_Lean_Meta_coerceSimple_x3f___closed__7;
x_46 = l_Lean_indentExpr(x_1);
x_47 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_47, 0, x_45);
lean_ctor_set(x_47, 1, x_46);
x_48 = l_Lean_Meta_coerceSimple_x3f___closed__9;
x_49 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_49, 0, x_47);
lean_ctor_set(x_49, 1, x_48);
x_50 = l_Lean_indentExpr(x_2);
x_51 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_51, 0, x_49);
lean_ctor_set(x_51, 1, x_50);
x_52 = l_Lean_Meta_coerceSimple_x3f___closed__11;
x_53 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_53, 0, x_51);
lean_ctor_set(x_53, 1, x_52);
x_54 = l_Lean_indentExpr(x_38);
x_55 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_55, 0, x_53);
lean_ctor_set(x_55, 1, x_54);
x_56 = l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg(x_55, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_57 = !lean_is_exclusive(x_56);
if (x_57 == 0)
{
return x_56;
}
else
{
lean_object* x_58; lean_object* x_59; 
x_58 = lean_ctor_get(x_56, 0);
lean_inc(x_58);
lean_dec(x_56);
x_59 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_59, 0, x_58);
return x_59;
}
}
else
{
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
lean_ctor_set(x_26, 0, x_38);
lean_ctor_set(x_41, 0, x_26);
return x_41;
}
}
else
{
lean_object* x_60; uint8_t x_61; 
x_60 = lean_ctor_get(x_41, 0);
lean_inc(x_60);
lean_dec(x_41);
x_61 = lean_unbox(x_60);
lean_dec(x_60);
if (x_61 == 0)
{
lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; 
lean_free_object(x_26);
x_62 = l_Lean_Meta_coerceSimple_x3f___closed__7;
x_63 = l_Lean_indentExpr(x_1);
x_64 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_64, 0, x_62);
lean_ctor_set(x_64, 1, x_63);
x_65 = l_Lean_Meta_coerceSimple_x3f___closed__9;
x_66 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_66, 0, x_64);
lean_ctor_set(x_66, 1, x_65);
x_67 = l_Lean_indentExpr(x_2);
x_68 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_68, 0, x_66);
lean_ctor_set(x_68, 1, x_67);
x_69 = l_Lean_Meta_coerceSimple_x3f___closed__11;
x_70 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_70, 0, x_68);
lean_ctor_set(x_70, 1, x_69);
x_71 = l_Lean_indentExpr(x_38);
x_72 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_72, 0, x_70);
lean_ctor_set(x_72, 1, x_71);
x_73 = l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg(x_72, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_74 = lean_ctor_get(x_73, 0);
lean_inc(x_74);
if (lean_is_exclusive(x_73)) {
 lean_ctor_release(x_73, 0);
 x_75 = x_73;
} else {
 lean_dec_ref(x_73);
 x_75 = lean_box(0);
}
if (lean_is_scalar(x_75)) {
 x_76 = lean_alloc_ctor(1, 1, 0);
} else {
 x_76 = x_75;
}
lean_ctor_set(x_76, 0, x_74);
return x_76;
}
else
{
lean_object* x_77; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
lean_ctor_set(x_26, 0, x_38);
x_77 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_77, 0, x_26);
return x_77;
}
}
}
else
{
uint8_t x_78; 
lean_dec(x_38);
lean_free_object(x_26);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_78 = !lean_is_exclusive(x_41);
if (x_78 == 0)
{
return x_41;
}
else
{
lean_object* x_79; lean_object* x_80; 
x_79 = lean_ctor_get(x_41, 0);
lean_inc(x_79);
lean_dec(x_41);
x_80 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_80, 0, x_79);
return x_80;
}
}
}
else
{
uint8_t x_81; 
lean_dec(x_38);
lean_free_object(x_26);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_81 = !lean_is_exclusive(x_39);
if (x_81 == 0)
{
return x_39;
}
else
{
lean_object* x_82; lean_object* x_83; 
x_82 = lean_ctor_get(x_39, 0);
lean_inc(x_82);
lean_dec(x_39);
x_83 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_83, 0, x_82);
return x_83;
}
}
}
else
{
uint8_t x_84; 
lean_free_object(x_26);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_84 = !lean_is_exclusive(x_37);
if (x_84 == 0)
{
return x_37;
}
else
{
lean_object* x_85; lean_object* x_86; 
x_85 = lean_ctor_get(x_37, 0);
lean_inc(x_85);
lean_dec(x_37);
x_86 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_86, 0, x_85);
return x_86;
}
}
}
else
{
lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; 
x_87 = lean_ctor_get(x_26, 0);
lean_inc(x_87);
lean_dec(x_26);
x_88 = l_Lean_Meta_coerceSimple_x3f___closed__4;
x_89 = l_Lean_mkConst(x_88, x_17);
x_90 = l_Lean_Meta_coerceSimple_x3f___closed__5;
x_91 = lean_array_push(x_90, x_9);
lean_inc_ref(x_1);
x_92 = lean_array_push(x_91, x_1);
lean_inc_ref(x_2);
x_93 = lean_array_push(x_92, x_2);
x_94 = lean_array_push(x_93, x_87);
x_95 = l_Lean_mkAppN(x_89, x_94);
lean_dec_ref(x_94);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_96 = l_Lean_Meta_expandCoe(x_95, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_96) == 0)
{
lean_object* x_97; lean_object* x_98; 
x_97 = lean_ctor_get(x_96, 0);
lean_inc(x_97);
lean_dec_ref(x_96);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_97);
x_98 = lean_infer_type(x_97, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_98) == 0)
{
lean_object* x_99; lean_object* x_100; 
x_99 = lean_ctor_get(x_98, 0);
lean_inc(x_99);
lean_dec_ref(x_98);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_2);
x_100 = l_Lean_Meta_isExprDefEq(x_99, x_2, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_100) == 0)
{
lean_object* x_101; lean_object* x_102; uint8_t x_103; 
x_101 = lean_ctor_get(x_100, 0);
lean_inc(x_101);
if (lean_is_exclusive(x_100)) {
 lean_ctor_release(x_100, 0);
 x_102 = x_100;
} else {
 lean_dec_ref(x_100);
 x_102 = lean_box(0);
}
x_103 = lean_unbox(x_101);
lean_dec(x_101);
if (x_103 == 0)
{
lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; 
lean_dec(x_102);
x_104 = l_Lean_Meta_coerceSimple_x3f___closed__7;
x_105 = l_Lean_indentExpr(x_1);
x_106 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_106, 0, x_104);
lean_ctor_set(x_106, 1, x_105);
x_107 = l_Lean_Meta_coerceSimple_x3f___closed__9;
x_108 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_108, 0, x_106);
lean_ctor_set(x_108, 1, x_107);
x_109 = l_Lean_indentExpr(x_2);
x_110 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_110, 0, x_108);
lean_ctor_set(x_110, 1, x_109);
x_111 = l_Lean_Meta_coerceSimple_x3f___closed__11;
x_112 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_112, 0, x_110);
lean_ctor_set(x_112, 1, x_111);
x_113 = l_Lean_indentExpr(x_97);
x_114 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_114, 0, x_112);
lean_ctor_set(x_114, 1, x_113);
x_115 = l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg(x_114, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_116 = lean_ctor_get(x_115, 0);
lean_inc(x_116);
if (lean_is_exclusive(x_115)) {
 lean_ctor_release(x_115, 0);
 x_117 = x_115;
} else {
 lean_dec_ref(x_115);
 x_117 = lean_box(0);
}
if (lean_is_scalar(x_117)) {
 x_118 = lean_alloc_ctor(1, 1, 0);
} else {
 x_118 = x_117;
}
lean_ctor_set(x_118, 0, x_116);
return x_118;
}
else
{
lean_object* x_119; lean_object* x_120; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_119 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_119, 0, x_97);
if (lean_is_scalar(x_102)) {
 x_120 = lean_alloc_ctor(0, 1, 0);
} else {
 x_120 = x_102;
}
lean_ctor_set(x_120, 0, x_119);
return x_120;
}
}
else
{
lean_object* x_121; lean_object* x_122; lean_object* x_123; 
lean_dec(x_97);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_121 = lean_ctor_get(x_100, 0);
lean_inc(x_121);
if (lean_is_exclusive(x_100)) {
 lean_ctor_release(x_100, 0);
 x_122 = x_100;
} else {
 lean_dec_ref(x_100);
 x_122 = lean_box(0);
}
if (lean_is_scalar(x_122)) {
 x_123 = lean_alloc_ctor(1, 1, 0);
} else {
 x_123 = x_122;
}
lean_ctor_set(x_123, 0, x_121);
return x_123;
}
}
else
{
lean_object* x_124; lean_object* x_125; lean_object* x_126; 
lean_dec(x_97);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_124 = lean_ctor_get(x_98, 0);
lean_inc(x_124);
if (lean_is_exclusive(x_98)) {
 lean_ctor_release(x_98, 0);
 x_125 = x_98;
} else {
 lean_dec_ref(x_98);
 x_125 = lean_box(0);
}
if (lean_is_scalar(x_125)) {
 x_126 = lean_alloc_ctor(1, 1, 0);
} else {
 x_126 = x_125;
}
lean_ctor_set(x_126, 0, x_124);
return x_126;
}
}
else
{
lean_object* x_127; lean_object* x_128; lean_object* x_129; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_127 = lean_ctor_get(x_96, 0);
lean_inc(x_127);
if (lean_is_exclusive(x_96)) {
 lean_ctor_release(x_96, 0);
 x_128 = x_96;
} else {
 lean_dec_ref(x_96);
 x_128 = lean_box(0);
}
if (lean_is_scalar(x_128)) {
 x_129 = lean_alloc_ctor(1, 1, 0);
} else {
 x_129 = x_128;
}
lean_ctor_set(x_129, 0, x_127);
return x_129;
}
}
}
else
{
lean_dec(x_26);
lean_dec_ref(x_17);
lean_dec(x_9);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_25;
}
}
else
{
lean_dec_ref(x_17);
lean_dec(x_9);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_25;
}
}
else
{
uint8_t x_130; 
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_130 = !lean_is_exclusive(x_12);
if (x_130 == 0)
{
return x_12;
}
else
{
lean_object* x_131; lean_object* x_132; 
x_131 = lean_ctor_get(x_12, 0);
lean_inc(x_131);
lean_dec(x_12);
x_132 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_132, 0, x_131);
return x_132;
}
}
}
else
{
uint8_t x_133; 
lean_dec(x_9);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_133 = !lean_is_exclusive(x_10);
if (x_133 == 0)
{
return x_10;
}
else
{
lean_object* x_134; lean_object* x_135; 
x_134 = lean_ctor_get(x_10, 0);
lean_inc(x_134);
lean_dec(x_10);
x_135 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_135, 0, x_134);
return x_135;
}
}
}
else
{
uint8_t x_136; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_136 = !lean_is_exclusive(x_8);
if (x_136 == 0)
{
return x_8;
}
else
{
lean_object* x_137; lean_object* x_138; 
x_137 = lean_ctor_get(x_8, 0);
lean_inc(x_137);
lean_dec(x_8);
x_138 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_138, 0, x_137);
return x_138;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_coerceSimple_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Meta_coerceSimple_x3f(x_1, x_2, x_3, x_4, x_5, x_6);
return x_8;
}
}
static lean_object* _init_l_Lean_Meta_coerceToFunction_x3f___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("CoeFun", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceToFunction_x3f___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_coerceToFunction_x3f___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceToFunction_x3f___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Meta_coerceSimple_x3f___closed__3;
x_2 = l_Lean_Meta_coerceToFunction_x3f___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_coerceToFunction_x3f___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Failed to coerce", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceToFunction_x3f___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_coerceToFunction_x3f___closed__3;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceToFunction_x3f___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("\nto a function: After applying `CoeFun.coe`, result is still not a function", 75, 75);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceToFunction_x3f___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_coerceToFunction_x3f___closed__5;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceToFunction_x3f___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("This is often due to incorrect `CoeFun` instances; the synthesized instance was", 79, 79);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceToFunction_x3f___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_coerceToFunction_x3f___closed__7;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_coerceToFunction_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; 
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
lean_inc_ref(x_1);
x_7 = lean_infer_type(x_1, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_7) == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_7, 0);
lean_inc(x_8);
lean_dec_ref(x_7);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
lean_inc(x_8);
x_9 = l_Lean_Meta_getLevel(x_8, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_9) == 0)
{
lean_object* x_10; lean_object* x_11; 
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
lean_dec_ref(x_9);
x_11 = l_Lean_Meta_mkFreshLevelMVar(x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_11) == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_12 = lean_ctor_get(x_11, 0);
lean_inc(x_12);
lean_dec_ref(x_11);
lean_inc(x_12);
x_13 = l_Lean_mkSort(x_12);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_8);
x_14 = l_Lean_mkArrow(x_8, x_13, x_4, x_5);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; 
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
lean_dec_ref(x_14);
x_16 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_16, 0, x_15);
x_17 = 0;
x_18 = lean_box(0);
lean_inc_ref(x_2);
x_19 = l_Lean_Meta_mkFreshExprMVar(x_16, x_17, x_18, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_19) == 0)
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 
x_20 = lean_ctor_get(x_19, 0);
lean_inc(x_20);
lean_dec_ref(x_19);
x_21 = l_Lean_Meta_coerceToFunction_x3f___closed__1;
x_22 = lean_box(0);
x_23 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_23, 0, x_12);
lean_ctor_set(x_23, 1, x_22);
x_24 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_24, 0, x_10);
lean_ctor_set(x_24, 1, x_23);
lean_inc_ref(x_24);
x_25 = l_Lean_Expr_const___override(x_21, x_24);
lean_inc(x_20);
lean_inc(x_8);
x_26 = l_Lean_mkAppB(x_25, x_8, x_20);
x_27 = lean_box(0);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
x_28 = l_Lean_Meta_trySynthInstance(x_26, x_27, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_28) == 0)
{
uint8_t x_29; 
x_29 = !lean_is_exclusive(x_28);
if (x_29 == 0)
{
lean_object* x_30; 
x_30 = lean_ctor_get(x_28, 0);
if (lean_obj_tag(x_30) == 1)
{
uint8_t x_31; 
lean_free_object(x_28);
x_31 = !lean_is_exclusive(x_30);
if (x_31 == 0)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 
x_32 = lean_ctor_get(x_30, 0);
x_33 = l_Lean_Meta_coerceToFunction_x3f___closed__2;
x_34 = l_Lean_Expr_const___override(x_33, x_24);
lean_inc_ref(x_1);
lean_inc(x_32);
x_35 = l_Lean_mkApp4(x_34, x_8, x_20, x_32, x_1);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
x_36 = l_Lean_Meta_expandCoe(x_35, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_36) == 0)
{
lean_object* x_37; lean_object* x_38; 
x_37 = lean_ctor_get(x_36, 0);
lean_inc(x_37);
lean_dec_ref(x_36);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
lean_inc(x_37);
x_38 = lean_infer_type(x_37, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_38) == 0)
{
lean_object* x_39; lean_object* x_40; 
x_39 = lean_ctor_get(x_38, 0);
lean_inc(x_39);
lean_dec_ref(x_38);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
x_40 = lean_whnf(x_39, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_40) == 0)
{
uint8_t x_41; 
x_41 = !lean_is_exclusive(x_40);
if (x_41 == 0)
{
lean_object* x_42; uint8_t x_43; 
x_42 = lean_ctor_get(x_40, 0);
x_43 = l_Lean_Expr_isForall(x_42);
lean_dec(x_42);
if (x_43 == 0)
{
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; 
lean_free_object(x_40);
lean_free_object(x_30);
x_44 = l_Lean_Meta_coerceToFunction_x3f___closed__4;
x_45 = l_Lean_indentExpr(x_1);
x_46 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_46, 0, x_44);
lean_ctor_set(x_46, 1, x_45);
x_47 = l_Lean_Meta_coerceToFunction_x3f___closed__6;
x_48 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_48, 0, x_46);
lean_ctor_set(x_48, 1, x_47);
x_49 = l_Lean_indentExpr(x_37);
x_50 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_50, 0, x_48);
lean_ctor_set(x_50, 1, x_49);
x_51 = l_Lean_Meta_coerceToFunction_x3f___closed__8;
x_52 = l_Lean_indentExpr(x_32);
x_53 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_53, 0, x_51);
lean_ctor_set(x_53, 1, x_52);
x_54 = l_Lean_MessageData_hint_x27(x_53);
x_55 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_55, 0, x_50);
lean_ctor_set(x_55, 1, x_54);
x_56 = l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg(x_55, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
x_57 = !lean_is_exclusive(x_56);
if (x_57 == 0)
{
return x_56;
}
else
{
lean_object* x_58; lean_object* x_59; 
x_58 = lean_ctor_get(x_56, 0);
lean_inc(x_58);
lean_dec(x_56);
x_59 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_59, 0, x_58);
return x_59;
}
}
else
{
lean_dec(x_32);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
lean_ctor_set(x_30, 0, x_37);
lean_ctor_set(x_40, 0, x_30);
return x_40;
}
}
else
{
lean_object* x_60; uint8_t x_61; 
x_60 = lean_ctor_get(x_40, 0);
lean_inc(x_60);
lean_dec(x_40);
x_61 = l_Lean_Expr_isForall(x_60);
lean_dec(x_60);
if (x_61 == 0)
{
lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; 
lean_free_object(x_30);
x_62 = l_Lean_Meta_coerceToFunction_x3f___closed__4;
x_63 = l_Lean_indentExpr(x_1);
x_64 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_64, 0, x_62);
lean_ctor_set(x_64, 1, x_63);
x_65 = l_Lean_Meta_coerceToFunction_x3f___closed__6;
x_66 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_66, 0, x_64);
lean_ctor_set(x_66, 1, x_65);
x_67 = l_Lean_indentExpr(x_37);
x_68 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_68, 0, x_66);
lean_ctor_set(x_68, 1, x_67);
x_69 = l_Lean_Meta_coerceToFunction_x3f___closed__8;
x_70 = l_Lean_indentExpr(x_32);
x_71 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_71, 0, x_69);
lean_ctor_set(x_71, 1, x_70);
x_72 = l_Lean_MessageData_hint_x27(x_71);
x_73 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_73, 0, x_68);
lean_ctor_set(x_73, 1, x_72);
x_74 = l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg(x_73, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
x_75 = lean_ctor_get(x_74, 0);
lean_inc(x_75);
if (lean_is_exclusive(x_74)) {
 lean_ctor_release(x_74, 0);
 x_76 = x_74;
} else {
 lean_dec_ref(x_74);
 x_76 = lean_box(0);
}
if (lean_is_scalar(x_76)) {
 x_77 = lean_alloc_ctor(1, 1, 0);
} else {
 x_77 = x_76;
}
lean_ctor_set(x_77, 0, x_75);
return x_77;
}
else
{
lean_object* x_78; 
lean_dec(x_32);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
lean_ctor_set(x_30, 0, x_37);
x_78 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_78, 0, x_30);
return x_78;
}
}
}
else
{
uint8_t x_79; 
lean_dec(x_37);
lean_free_object(x_30);
lean_dec(x_32);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_79 = !lean_is_exclusive(x_40);
if (x_79 == 0)
{
return x_40;
}
else
{
lean_object* x_80; lean_object* x_81; 
x_80 = lean_ctor_get(x_40, 0);
lean_inc(x_80);
lean_dec(x_40);
x_81 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_81, 0, x_80);
return x_81;
}
}
}
else
{
uint8_t x_82; 
lean_dec(x_37);
lean_free_object(x_30);
lean_dec(x_32);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_82 = !lean_is_exclusive(x_38);
if (x_82 == 0)
{
return x_38;
}
else
{
lean_object* x_83; lean_object* x_84; 
x_83 = lean_ctor_get(x_38, 0);
lean_inc(x_83);
lean_dec(x_38);
x_84 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_84, 0, x_83);
return x_84;
}
}
}
else
{
uint8_t x_85; 
lean_free_object(x_30);
lean_dec(x_32);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_85 = !lean_is_exclusive(x_36);
if (x_85 == 0)
{
return x_36;
}
else
{
lean_object* x_86; lean_object* x_87; 
x_86 = lean_ctor_get(x_36, 0);
lean_inc(x_86);
lean_dec(x_36);
x_87 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_87, 0, x_86);
return x_87;
}
}
}
else
{
lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; 
x_88 = lean_ctor_get(x_30, 0);
lean_inc(x_88);
lean_dec(x_30);
x_89 = l_Lean_Meta_coerceToFunction_x3f___closed__2;
x_90 = l_Lean_Expr_const___override(x_89, x_24);
lean_inc_ref(x_1);
lean_inc(x_88);
x_91 = l_Lean_mkApp4(x_90, x_8, x_20, x_88, x_1);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
x_92 = l_Lean_Meta_expandCoe(x_91, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_92) == 0)
{
lean_object* x_93; lean_object* x_94; 
x_93 = lean_ctor_get(x_92, 0);
lean_inc(x_93);
lean_dec_ref(x_92);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
lean_inc(x_93);
x_94 = lean_infer_type(x_93, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_94) == 0)
{
lean_object* x_95; lean_object* x_96; 
x_95 = lean_ctor_get(x_94, 0);
lean_inc(x_95);
lean_dec_ref(x_94);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
x_96 = lean_whnf(x_95, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_96) == 0)
{
lean_object* x_97; lean_object* x_98; uint8_t x_99; 
x_97 = lean_ctor_get(x_96, 0);
lean_inc(x_97);
if (lean_is_exclusive(x_96)) {
 lean_ctor_release(x_96, 0);
 x_98 = x_96;
} else {
 lean_dec_ref(x_96);
 x_98 = lean_box(0);
}
x_99 = l_Lean_Expr_isForall(x_97);
lean_dec(x_97);
if (x_99 == 0)
{
lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; 
lean_dec(x_98);
x_100 = l_Lean_Meta_coerceToFunction_x3f___closed__4;
x_101 = l_Lean_indentExpr(x_1);
x_102 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_102, 0, x_100);
lean_ctor_set(x_102, 1, x_101);
x_103 = l_Lean_Meta_coerceToFunction_x3f___closed__6;
x_104 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_104, 0, x_102);
lean_ctor_set(x_104, 1, x_103);
x_105 = l_Lean_indentExpr(x_93);
x_106 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_106, 0, x_104);
lean_ctor_set(x_106, 1, x_105);
x_107 = l_Lean_Meta_coerceToFunction_x3f___closed__8;
x_108 = l_Lean_indentExpr(x_88);
x_109 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_109, 0, x_107);
lean_ctor_set(x_109, 1, x_108);
x_110 = l_Lean_MessageData_hint_x27(x_109);
x_111 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_111, 0, x_106);
lean_ctor_set(x_111, 1, x_110);
x_112 = l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg(x_111, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
x_113 = lean_ctor_get(x_112, 0);
lean_inc(x_113);
if (lean_is_exclusive(x_112)) {
 lean_ctor_release(x_112, 0);
 x_114 = x_112;
} else {
 lean_dec_ref(x_112);
 x_114 = lean_box(0);
}
if (lean_is_scalar(x_114)) {
 x_115 = lean_alloc_ctor(1, 1, 0);
} else {
 x_115 = x_114;
}
lean_ctor_set(x_115, 0, x_113);
return x_115;
}
else
{
lean_object* x_116; lean_object* x_117; 
lean_dec(x_88);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_116 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_116, 0, x_93);
if (lean_is_scalar(x_98)) {
 x_117 = lean_alloc_ctor(0, 1, 0);
} else {
 x_117 = x_98;
}
lean_ctor_set(x_117, 0, x_116);
return x_117;
}
}
else
{
lean_object* x_118; lean_object* x_119; lean_object* x_120; 
lean_dec(x_93);
lean_dec(x_88);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_118 = lean_ctor_get(x_96, 0);
lean_inc(x_118);
if (lean_is_exclusive(x_96)) {
 lean_ctor_release(x_96, 0);
 x_119 = x_96;
} else {
 lean_dec_ref(x_96);
 x_119 = lean_box(0);
}
if (lean_is_scalar(x_119)) {
 x_120 = lean_alloc_ctor(1, 1, 0);
} else {
 x_120 = x_119;
}
lean_ctor_set(x_120, 0, x_118);
return x_120;
}
}
else
{
lean_object* x_121; lean_object* x_122; lean_object* x_123; 
lean_dec(x_93);
lean_dec(x_88);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_121 = lean_ctor_get(x_94, 0);
lean_inc(x_121);
if (lean_is_exclusive(x_94)) {
 lean_ctor_release(x_94, 0);
 x_122 = x_94;
} else {
 lean_dec_ref(x_94);
 x_122 = lean_box(0);
}
if (lean_is_scalar(x_122)) {
 x_123 = lean_alloc_ctor(1, 1, 0);
} else {
 x_123 = x_122;
}
lean_ctor_set(x_123, 0, x_121);
return x_123;
}
}
else
{
lean_object* x_124; lean_object* x_125; lean_object* x_126; 
lean_dec(x_88);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_124 = lean_ctor_get(x_92, 0);
lean_inc(x_124);
if (lean_is_exclusive(x_92)) {
 lean_ctor_release(x_92, 0);
 x_125 = x_92;
} else {
 lean_dec_ref(x_92);
 x_125 = lean_box(0);
}
if (lean_is_scalar(x_125)) {
 x_126 = lean_alloc_ctor(1, 1, 0);
} else {
 x_126 = x_125;
}
lean_ctor_set(x_126, 0, x_124);
return x_126;
}
}
}
else
{
lean_dec(x_30);
lean_dec_ref(x_24);
lean_dec(x_20);
lean_dec(x_8);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
lean_ctor_set(x_28, 0, x_27);
return x_28;
}
}
else
{
lean_object* x_127; 
x_127 = lean_ctor_get(x_28, 0);
lean_inc(x_127);
lean_dec(x_28);
if (lean_obj_tag(x_127) == 1)
{
lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; 
x_128 = lean_ctor_get(x_127, 0);
lean_inc(x_128);
if (lean_is_exclusive(x_127)) {
 lean_ctor_release(x_127, 0);
 x_129 = x_127;
} else {
 lean_dec_ref(x_127);
 x_129 = lean_box(0);
}
x_130 = l_Lean_Meta_coerceToFunction_x3f___closed__2;
x_131 = l_Lean_Expr_const___override(x_130, x_24);
lean_inc_ref(x_1);
lean_inc(x_128);
x_132 = l_Lean_mkApp4(x_131, x_8, x_20, x_128, x_1);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
x_133 = l_Lean_Meta_expandCoe(x_132, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_133) == 0)
{
lean_object* x_134; lean_object* x_135; 
x_134 = lean_ctor_get(x_133, 0);
lean_inc(x_134);
lean_dec_ref(x_133);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
lean_inc(x_134);
x_135 = lean_infer_type(x_134, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_135) == 0)
{
lean_object* x_136; lean_object* x_137; 
x_136 = lean_ctor_get(x_135, 0);
lean_inc(x_136);
lean_dec_ref(x_135);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
x_137 = lean_whnf(x_136, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_137) == 0)
{
lean_object* x_138; lean_object* x_139; uint8_t x_140; 
x_138 = lean_ctor_get(x_137, 0);
lean_inc(x_138);
if (lean_is_exclusive(x_137)) {
 lean_ctor_release(x_137, 0);
 x_139 = x_137;
} else {
 lean_dec_ref(x_137);
 x_139 = lean_box(0);
}
x_140 = l_Lean_Expr_isForall(x_138);
lean_dec(x_138);
if (x_140 == 0)
{
lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; 
lean_dec(x_139);
lean_dec(x_129);
x_141 = l_Lean_Meta_coerceToFunction_x3f___closed__4;
x_142 = l_Lean_indentExpr(x_1);
x_143 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_143, 0, x_141);
lean_ctor_set(x_143, 1, x_142);
x_144 = l_Lean_Meta_coerceToFunction_x3f___closed__6;
x_145 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_145, 0, x_143);
lean_ctor_set(x_145, 1, x_144);
x_146 = l_Lean_indentExpr(x_134);
x_147 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_147, 0, x_145);
lean_ctor_set(x_147, 1, x_146);
x_148 = l_Lean_Meta_coerceToFunction_x3f___closed__8;
x_149 = l_Lean_indentExpr(x_128);
x_150 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_150, 0, x_148);
lean_ctor_set(x_150, 1, x_149);
x_151 = l_Lean_MessageData_hint_x27(x_150);
x_152 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_152, 0, x_147);
lean_ctor_set(x_152, 1, x_151);
x_153 = l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg(x_152, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
x_154 = lean_ctor_get(x_153, 0);
lean_inc(x_154);
if (lean_is_exclusive(x_153)) {
 lean_ctor_release(x_153, 0);
 x_155 = x_153;
} else {
 lean_dec_ref(x_153);
 x_155 = lean_box(0);
}
if (lean_is_scalar(x_155)) {
 x_156 = lean_alloc_ctor(1, 1, 0);
} else {
 x_156 = x_155;
}
lean_ctor_set(x_156, 0, x_154);
return x_156;
}
else
{
lean_object* x_157; lean_object* x_158; 
lean_dec(x_128);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
if (lean_is_scalar(x_129)) {
 x_157 = lean_alloc_ctor(1, 1, 0);
} else {
 x_157 = x_129;
}
lean_ctor_set(x_157, 0, x_134);
if (lean_is_scalar(x_139)) {
 x_158 = lean_alloc_ctor(0, 1, 0);
} else {
 x_158 = x_139;
}
lean_ctor_set(x_158, 0, x_157);
return x_158;
}
}
else
{
lean_object* x_159; lean_object* x_160; lean_object* x_161; 
lean_dec(x_134);
lean_dec(x_129);
lean_dec(x_128);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_159 = lean_ctor_get(x_137, 0);
lean_inc(x_159);
if (lean_is_exclusive(x_137)) {
 lean_ctor_release(x_137, 0);
 x_160 = x_137;
} else {
 lean_dec_ref(x_137);
 x_160 = lean_box(0);
}
if (lean_is_scalar(x_160)) {
 x_161 = lean_alloc_ctor(1, 1, 0);
} else {
 x_161 = x_160;
}
lean_ctor_set(x_161, 0, x_159);
return x_161;
}
}
else
{
lean_object* x_162; lean_object* x_163; lean_object* x_164; 
lean_dec(x_134);
lean_dec(x_129);
lean_dec(x_128);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_162 = lean_ctor_get(x_135, 0);
lean_inc(x_162);
if (lean_is_exclusive(x_135)) {
 lean_ctor_release(x_135, 0);
 x_163 = x_135;
} else {
 lean_dec_ref(x_135);
 x_163 = lean_box(0);
}
if (lean_is_scalar(x_163)) {
 x_164 = lean_alloc_ctor(1, 1, 0);
} else {
 x_164 = x_163;
}
lean_ctor_set(x_164, 0, x_162);
return x_164;
}
}
else
{
lean_object* x_165; lean_object* x_166; lean_object* x_167; 
lean_dec(x_129);
lean_dec(x_128);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_165 = lean_ctor_get(x_133, 0);
lean_inc(x_165);
if (lean_is_exclusive(x_133)) {
 lean_ctor_release(x_133, 0);
 x_166 = x_133;
} else {
 lean_dec_ref(x_133);
 x_166 = lean_box(0);
}
if (lean_is_scalar(x_166)) {
 x_167 = lean_alloc_ctor(1, 1, 0);
} else {
 x_167 = x_166;
}
lean_ctor_set(x_167, 0, x_165);
return x_167;
}
}
else
{
lean_object* x_168; 
lean_dec(x_127);
lean_dec_ref(x_24);
lean_dec(x_20);
lean_dec(x_8);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_168 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_168, 0, x_27);
return x_168;
}
}
}
else
{
uint8_t x_169; 
lean_dec_ref(x_24);
lean_dec(x_20);
lean_dec(x_8);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_169 = !lean_is_exclusive(x_28);
if (x_169 == 0)
{
return x_28;
}
else
{
lean_object* x_170; lean_object* x_171; 
x_170 = lean_ctor_get(x_28, 0);
lean_inc(x_170);
lean_dec(x_28);
x_171 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_171, 0, x_170);
return x_171;
}
}
}
else
{
uint8_t x_172; 
lean_dec(x_12);
lean_dec(x_10);
lean_dec(x_8);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_172 = !lean_is_exclusive(x_19);
if (x_172 == 0)
{
return x_19;
}
else
{
lean_object* x_173; lean_object* x_174; 
x_173 = lean_ctor_get(x_19, 0);
lean_inc(x_173);
lean_dec(x_19);
x_174 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_174, 0, x_173);
return x_174;
}
}
}
else
{
uint8_t x_175; 
lean_dec(x_12);
lean_dec(x_10);
lean_dec(x_8);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_175 = !lean_is_exclusive(x_14);
if (x_175 == 0)
{
return x_14;
}
else
{
lean_object* x_176; lean_object* x_177; 
x_176 = lean_ctor_get(x_14, 0);
lean_inc(x_176);
lean_dec(x_14);
x_177 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_177, 0, x_176);
return x_177;
}
}
}
else
{
uint8_t x_178; 
lean_dec(x_10);
lean_dec(x_8);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_178 = !lean_is_exclusive(x_11);
if (x_178 == 0)
{
return x_11;
}
else
{
lean_object* x_179; lean_object* x_180; 
x_179 = lean_ctor_get(x_11, 0);
lean_inc(x_179);
lean_dec(x_11);
x_180 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_180, 0, x_179);
return x_180;
}
}
}
else
{
uint8_t x_181; 
lean_dec(x_8);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_181 = !lean_is_exclusive(x_9);
if (x_181 == 0)
{
return x_9;
}
else
{
lean_object* x_182; lean_object* x_183; 
x_182 = lean_ctor_get(x_9, 0);
lean_inc(x_182);
lean_dec(x_9);
x_183 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_183, 0, x_182);
return x_183;
}
}
}
else
{
uint8_t x_184; 
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_184 = !lean_is_exclusive(x_7);
if (x_184 == 0)
{
return x_7;
}
else
{
lean_object* x_185; lean_object* x_186; 
x_185 = lean_ctor_get(x_7, 0);
lean_inc(x_185);
lean_dec(x_7);
x_186 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_186, 0, x_185);
return x_186;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_coerceToFunction_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_coerceToFunction_x3f(x_1, x_2, x_3, x_4, x_5);
return x_7;
}
}
static lean_object* _init_l_Lean_Meta_coerceToSort_x3f___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("CoeSort", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceToSort_x3f___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_coerceToSort_x3f___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceToSort_x3f___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Meta_coerceSimple_x3f___closed__3;
x_2 = l_Lean_Meta_coerceToSort_x3f___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_coerceToSort_x3f___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("\nto a type: After applying `CoeSort.coe`, result is still not a type", 68, 68);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceToSort_x3f___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_coerceToSort_x3f___closed__3;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceToSort_x3f___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("This is often due to incorrect `CoeSort` instances; the synthesized instance was", 80, 80);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceToSort_x3f___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_coerceToSort_x3f___closed__5;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_coerceToSort_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; 
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
lean_inc_ref(x_1);
x_7 = lean_infer_type(x_1, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_7) == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_7, 0);
lean_inc(x_8);
lean_dec_ref(x_7);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
lean_inc(x_8);
x_9 = l_Lean_Meta_getLevel(x_8, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_9) == 0)
{
lean_object* x_10; lean_object* x_11; 
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
lean_dec_ref(x_9);
x_11 = l_Lean_Meta_mkFreshLevelMVar(x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_11) == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; 
x_12 = lean_ctor_get(x_11, 0);
lean_inc(x_12);
lean_dec_ref(x_11);
lean_inc(x_12);
x_13 = l_Lean_mkSort(x_12);
x_14 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_14, 0, x_13);
x_15 = 0;
x_16 = lean_box(0);
lean_inc_ref(x_2);
x_17 = l_Lean_Meta_mkFreshExprMVar(x_14, x_15, x_16, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_17) == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_18 = lean_ctor_get(x_17, 0);
lean_inc(x_18);
lean_dec_ref(x_17);
x_19 = l_Lean_Meta_coerceToSort_x3f___closed__1;
x_20 = lean_box(0);
x_21 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_21, 0, x_12);
lean_ctor_set(x_21, 1, x_20);
x_22 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_22, 0, x_10);
lean_ctor_set(x_22, 1, x_21);
lean_inc_ref(x_22);
x_23 = l_Lean_Expr_const___override(x_19, x_22);
lean_inc(x_18);
lean_inc(x_8);
x_24 = l_Lean_mkAppB(x_23, x_8, x_18);
x_25 = lean_box(0);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
x_26 = l_Lean_Meta_trySynthInstance(x_24, x_25, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_26) == 0)
{
uint8_t x_27; 
x_27 = !lean_is_exclusive(x_26);
if (x_27 == 0)
{
lean_object* x_28; 
x_28 = lean_ctor_get(x_26, 0);
if (lean_obj_tag(x_28) == 1)
{
uint8_t x_29; 
lean_free_object(x_26);
x_29 = !lean_is_exclusive(x_28);
if (x_29 == 0)
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; 
x_30 = lean_ctor_get(x_28, 0);
x_31 = l_Lean_Meta_coerceToSort_x3f___closed__2;
x_32 = l_Lean_Expr_const___override(x_31, x_22);
lean_inc_ref(x_1);
lean_inc(x_30);
x_33 = l_Lean_mkApp4(x_32, x_8, x_18, x_30, x_1);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
x_34 = l_Lean_Meta_expandCoe(x_33, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_34) == 0)
{
lean_object* x_35; lean_object* x_36; 
x_35 = lean_ctor_get(x_34, 0);
lean_inc(x_35);
lean_dec_ref(x_34);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
lean_inc(x_35);
x_36 = lean_infer_type(x_35, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_36) == 0)
{
lean_object* x_37; lean_object* x_38; 
x_37 = lean_ctor_get(x_36, 0);
lean_inc(x_37);
lean_dec_ref(x_36);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
x_38 = lean_whnf(x_37, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_38) == 0)
{
uint8_t x_39; 
x_39 = !lean_is_exclusive(x_38);
if (x_39 == 0)
{
lean_object* x_40; uint8_t x_41; 
x_40 = lean_ctor_get(x_38, 0);
x_41 = l_Lean_Expr_isSort(x_40);
lean_dec(x_40);
if (x_41 == 0)
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; 
lean_free_object(x_38);
lean_free_object(x_28);
x_42 = l_Lean_Meta_coerceToFunction_x3f___closed__4;
x_43 = l_Lean_indentExpr(x_1);
x_44 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_44, 0, x_42);
lean_ctor_set(x_44, 1, x_43);
x_45 = l_Lean_Meta_coerceToSort_x3f___closed__4;
x_46 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_46, 0, x_44);
lean_ctor_set(x_46, 1, x_45);
x_47 = l_Lean_indentExpr(x_35);
x_48 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_48, 0, x_46);
lean_ctor_set(x_48, 1, x_47);
x_49 = l_Lean_Meta_coerceToSort_x3f___closed__6;
x_50 = l_Lean_indentExpr(x_30);
x_51 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_51, 0, x_49);
lean_ctor_set(x_51, 1, x_50);
x_52 = l_Lean_MessageData_hint_x27(x_51);
x_53 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_53, 0, x_48);
lean_ctor_set(x_53, 1, x_52);
x_54 = l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg(x_53, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
x_55 = !lean_is_exclusive(x_54);
if (x_55 == 0)
{
return x_54;
}
else
{
lean_object* x_56; lean_object* x_57; 
x_56 = lean_ctor_get(x_54, 0);
lean_inc(x_56);
lean_dec(x_54);
x_57 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_57, 0, x_56);
return x_57;
}
}
else
{
lean_dec(x_30);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
lean_ctor_set(x_28, 0, x_35);
lean_ctor_set(x_38, 0, x_28);
return x_38;
}
}
else
{
lean_object* x_58; uint8_t x_59; 
x_58 = lean_ctor_get(x_38, 0);
lean_inc(x_58);
lean_dec(x_38);
x_59 = l_Lean_Expr_isSort(x_58);
lean_dec(x_58);
if (x_59 == 0)
{
lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; 
lean_free_object(x_28);
x_60 = l_Lean_Meta_coerceToFunction_x3f___closed__4;
x_61 = l_Lean_indentExpr(x_1);
x_62 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_62, 0, x_60);
lean_ctor_set(x_62, 1, x_61);
x_63 = l_Lean_Meta_coerceToSort_x3f___closed__4;
x_64 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_64, 0, x_62);
lean_ctor_set(x_64, 1, x_63);
x_65 = l_Lean_indentExpr(x_35);
x_66 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_66, 0, x_64);
lean_ctor_set(x_66, 1, x_65);
x_67 = l_Lean_Meta_coerceToSort_x3f___closed__6;
x_68 = l_Lean_indentExpr(x_30);
x_69 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_69, 0, x_67);
lean_ctor_set(x_69, 1, x_68);
x_70 = l_Lean_MessageData_hint_x27(x_69);
x_71 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_71, 0, x_66);
lean_ctor_set(x_71, 1, x_70);
x_72 = l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg(x_71, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
x_73 = lean_ctor_get(x_72, 0);
lean_inc(x_73);
if (lean_is_exclusive(x_72)) {
 lean_ctor_release(x_72, 0);
 x_74 = x_72;
} else {
 lean_dec_ref(x_72);
 x_74 = lean_box(0);
}
if (lean_is_scalar(x_74)) {
 x_75 = lean_alloc_ctor(1, 1, 0);
} else {
 x_75 = x_74;
}
lean_ctor_set(x_75, 0, x_73);
return x_75;
}
else
{
lean_object* x_76; 
lean_dec(x_30);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
lean_ctor_set(x_28, 0, x_35);
x_76 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_76, 0, x_28);
return x_76;
}
}
}
else
{
uint8_t x_77; 
lean_dec(x_35);
lean_free_object(x_28);
lean_dec(x_30);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_77 = !lean_is_exclusive(x_38);
if (x_77 == 0)
{
return x_38;
}
else
{
lean_object* x_78; lean_object* x_79; 
x_78 = lean_ctor_get(x_38, 0);
lean_inc(x_78);
lean_dec(x_38);
x_79 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_79, 0, x_78);
return x_79;
}
}
}
else
{
uint8_t x_80; 
lean_dec(x_35);
lean_free_object(x_28);
lean_dec(x_30);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_80 = !lean_is_exclusive(x_36);
if (x_80 == 0)
{
return x_36;
}
else
{
lean_object* x_81; lean_object* x_82; 
x_81 = lean_ctor_get(x_36, 0);
lean_inc(x_81);
lean_dec(x_36);
x_82 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_82, 0, x_81);
return x_82;
}
}
}
else
{
uint8_t x_83; 
lean_free_object(x_28);
lean_dec(x_30);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_83 = !lean_is_exclusive(x_34);
if (x_83 == 0)
{
return x_34;
}
else
{
lean_object* x_84; lean_object* x_85; 
x_84 = lean_ctor_get(x_34, 0);
lean_inc(x_84);
lean_dec(x_34);
x_85 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_85, 0, x_84);
return x_85;
}
}
}
else
{
lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; 
x_86 = lean_ctor_get(x_28, 0);
lean_inc(x_86);
lean_dec(x_28);
x_87 = l_Lean_Meta_coerceToSort_x3f___closed__2;
x_88 = l_Lean_Expr_const___override(x_87, x_22);
lean_inc_ref(x_1);
lean_inc(x_86);
x_89 = l_Lean_mkApp4(x_88, x_8, x_18, x_86, x_1);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
x_90 = l_Lean_Meta_expandCoe(x_89, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_90) == 0)
{
lean_object* x_91; lean_object* x_92; 
x_91 = lean_ctor_get(x_90, 0);
lean_inc(x_91);
lean_dec_ref(x_90);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
lean_inc(x_91);
x_92 = lean_infer_type(x_91, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_92) == 0)
{
lean_object* x_93; lean_object* x_94; 
x_93 = lean_ctor_get(x_92, 0);
lean_inc(x_93);
lean_dec_ref(x_92);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
x_94 = lean_whnf(x_93, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_94) == 0)
{
lean_object* x_95; lean_object* x_96; uint8_t x_97; 
x_95 = lean_ctor_get(x_94, 0);
lean_inc(x_95);
if (lean_is_exclusive(x_94)) {
 lean_ctor_release(x_94, 0);
 x_96 = x_94;
} else {
 lean_dec_ref(x_94);
 x_96 = lean_box(0);
}
x_97 = l_Lean_Expr_isSort(x_95);
lean_dec(x_95);
if (x_97 == 0)
{
lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; 
lean_dec(x_96);
x_98 = l_Lean_Meta_coerceToFunction_x3f___closed__4;
x_99 = l_Lean_indentExpr(x_1);
x_100 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_100, 0, x_98);
lean_ctor_set(x_100, 1, x_99);
x_101 = l_Lean_Meta_coerceToSort_x3f___closed__4;
x_102 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_102, 0, x_100);
lean_ctor_set(x_102, 1, x_101);
x_103 = l_Lean_indentExpr(x_91);
x_104 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_104, 0, x_102);
lean_ctor_set(x_104, 1, x_103);
x_105 = l_Lean_Meta_coerceToSort_x3f___closed__6;
x_106 = l_Lean_indentExpr(x_86);
x_107 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_107, 0, x_105);
lean_ctor_set(x_107, 1, x_106);
x_108 = l_Lean_MessageData_hint_x27(x_107);
x_109 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_109, 0, x_104);
lean_ctor_set(x_109, 1, x_108);
x_110 = l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg(x_109, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
x_111 = lean_ctor_get(x_110, 0);
lean_inc(x_111);
if (lean_is_exclusive(x_110)) {
 lean_ctor_release(x_110, 0);
 x_112 = x_110;
} else {
 lean_dec_ref(x_110);
 x_112 = lean_box(0);
}
if (lean_is_scalar(x_112)) {
 x_113 = lean_alloc_ctor(1, 1, 0);
} else {
 x_113 = x_112;
}
lean_ctor_set(x_113, 0, x_111);
return x_113;
}
else
{
lean_object* x_114; lean_object* x_115; 
lean_dec(x_86);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_114 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_114, 0, x_91);
if (lean_is_scalar(x_96)) {
 x_115 = lean_alloc_ctor(0, 1, 0);
} else {
 x_115 = x_96;
}
lean_ctor_set(x_115, 0, x_114);
return x_115;
}
}
else
{
lean_object* x_116; lean_object* x_117; lean_object* x_118; 
lean_dec(x_91);
lean_dec(x_86);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_116 = lean_ctor_get(x_94, 0);
lean_inc(x_116);
if (lean_is_exclusive(x_94)) {
 lean_ctor_release(x_94, 0);
 x_117 = x_94;
} else {
 lean_dec_ref(x_94);
 x_117 = lean_box(0);
}
if (lean_is_scalar(x_117)) {
 x_118 = lean_alloc_ctor(1, 1, 0);
} else {
 x_118 = x_117;
}
lean_ctor_set(x_118, 0, x_116);
return x_118;
}
}
else
{
lean_object* x_119; lean_object* x_120; lean_object* x_121; 
lean_dec(x_91);
lean_dec(x_86);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_119 = lean_ctor_get(x_92, 0);
lean_inc(x_119);
if (lean_is_exclusive(x_92)) {
 lean_ctor_release(x_92, 0);
 x_120 = x_92;
} else {
 lean_dec_ref(x_92);
 x_120 = lean_box(0);
}
if (lean_is_scalar(x_120)) {
 x_121 = lean_alloc_ctor(1, 1, 0);
} else {
 x_121 = x_120;
}
lean_ctor_set(x_121, 0, x_119);
return x_121;
}
}
else
{
lean_object* x_122; lean_object* x_123; lean_object* x_124; 
lean_dec(x_86);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_122 = lean_ctor_get(x_90, 0);
lean_inc(x_122);
if (lean_is_exclusive(x_90)) {
 lean_ctor_release(x_90, 0);
 x_123 = x_90;
} else {
 lean_dec_ref(x_90);
 x_123 = lean_box(0);
}
if (lean_is_scalar(x_123)) {
 x_124 = lean_alloc_ctor(1, 1, 0);
} else {
 x_124 = x_123;
}
lean_ctor_set(x_124, 0, x_122);
return x_124;
}
}
}
else
{
lean_dec(x_28);
lean_dec_ref(x_22);
lean_dec(x_18);
lean_dec(x_8);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
lean_ctor_set(x_26, 0, x_25);
return x_26;
}
}
else
{
lean_object* x_125; 
x_125 = lean_ctor_get(x_26, 0);
lean_inc(x_125);
lean_dec(x_26);
if (lean_obj_tag(x_125) == 1)
{
lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; 
x_126 = lean_ctor_get(x_125, 0);
lean_inc(x_126);
if (lean_is_exclusive(x_125)) {
 lean_ctor_release(x_125, 0);
 x_127 = x_125;
} else {
 lean_dec_ref(x_125);
 x_127 = lean_box(0);
}
x_128 = l_Lean_Meta_coerceToSort_x3f___closed__2;
x_129 = l_Lean_Expr_const___override(x_128, x_22);
lean_inc_ref(x_1);
lean_inc(x_126);
x_130 = l_Lean_mkApp4(x_129, x_8, x_18, x_126, x_1);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
x_131 = l_Lean_Meta_expandCoe(x_130, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_131) == 0)
{
lean_object* x_132; lean_object* x_133; 
x_132 = lean_ctor_get(x_131, 0);
lean_inc(x_132);
lean_dec_ref(x_131);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
lean_inc(x_132);
x_133 = lean_infer_type(x_132, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_133) == 0)
{
lean_object* x_134; lean_object* x_135; 
x_134 = lean_ctor_get(x_133, 0);
lean_inc(x_134);
lean_dec_ref(x_133);
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
x_135 = lean_whnf(x_134, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_135) == 0)
{
lean_object* x_136; lean_object* x_137; uint8_t x_138; 
x_136 = lean_ctor_get(x_135, 0);
lean_inc(x_136);
if (lean_is_exclusive(x_135)) {
 lean_ctor_release(x_135, 0);
 x_137 = x_135;
} else {
 lean_dec_ref(x_135);
 x_137 = lean_box(0);
}
x_138 = l_Lean_Expr_isSort(x_136);
lean_dec(x_136);
if (x_138 == 0)
{
lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; 
lean_dec(x_137);
lean_dec(x_127);
x_139 = l_Lean_Meta_coerceToFunction_x3f___closed__4;
x_140 = l_Lean_indentExpr(x_1);
x_141 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_141, 0, x_139);
lean_ctor_set(x_141, 1, x_140);
x_142 = l_Lean_Meta_coerceToSort_x3f___closed__4;
x_143 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_143, 0, x_141);
lean_ctor_set(x_143, 1, x_142);
x_144 = l_Lean_indentExpr(x_132);
x_145 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_145, 0, x_143);
lean_ctor_set(x_145, 1, x_144);
x_146 = l_Lean_Meta_coerceToSort_x3f___closed__6;
x_147 = l_Lean_indentExpr(x_126);
x_148 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_148, 0, x_146);
lean_ctor_set(x_148, 1, x_147);
x_149 = l_Lean_MessageData_hint_x27(x_148);
x_150 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_150, 0, x_145);
lean_ctor_set(x_150, 1, x_149);
x_151 = l_Lean_throwError___at___00Lean_Meta_coerceSimple_x3f_spec__0___redArg(x_150, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
x_152 = lean_ctor_get(x_151, 0);
lean_inc(x_152);
if (lean_is_exclusive(x_151)) {
 lean_ctor_release(x_151, 0);
 x_153 = x_151;
} else {
 lean_dec_ref(x_151);
 x_153 = lean_box(0);
}
if (lean_is_scalar(x_153)) {
 x_154 = lean_alloc_ctor(1, 1, 0);
} else {
 x_154 = x_153;
}
lean_ctor_set(x_154, 0, x_152);
return x_154;
}
else
{
lean_object* x_155; lean_object* x_156; 
lean_dec(x_126);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
if (lean_is_scalar(x_127)) {
 x_155 = lean_alloc_ctor(1, 1, 0);
} else {
 x_155 = x_127;
}
lean_ctor_set(x_155, 0, x_132);
if (lean_is_scalar(x_137)) {
 x_156 = lean_alloc_ctor(0, 1, 0);
} else {
 x_156 = x_137;
}
lean_ctor_set(x_156, 0, x_155);
return x_156;
}
}
else
{
lean_object* x_157; lean_object* x_158; lean_object* x_159; 
lean_dec(x_132);
lean_dec(x_127);
lean_dec(x_126);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_157 = lean_ctor_get(x_135, 0);
lean_inc(x_157);
if (lean_is_exclusive(x_135)) {
 lean_ctor_release(x_135, 0);
 x_158 = x_135;
} else {
 lean_dec_ref(x_135);
 x_158 = lean_box(0);
}
if (lean_is_scalar(x_158)) {
 x_159 = lean_alloc_ctor(1, 1, 0);
} else {
 x_159 = x_158;
}
lean_ctor_set(x_159, 0, x_157);
return x_159;
}
}
else
{
lean_object* x_160; lean_object* x_161; lean_object* x_162; 
lean_dec(x_132);
lean_dec(x_127);
lean_dec(x_126);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_160 = lean_ctor_get(x_133, 0);
lean_inc(x_160);
if (lean_is_exclusive(x_133)) {
 lean_ctor_release(x_133, 0);
 x_161 = x_133;
} else {
 lean_dec_ref(x_133);
 x_161 = lean_box(0);
}
if (lean_is_scalar(x_161)) {
 x_162 = lean_alloc_ctor(1, 1, 0);
} else {
 x_162 = x_161;
}
lean_ctor_set(x_162, 0, x_160);
return x_162;
}
}
else
{
lean_object* x_163; lean_object* x_164; lean_object* x_165; 
lean_dec(x_127);
lean_dec(x_126);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_163 = lean_ctor_get(x_131, 0);
lean_inc(x_163);
if (lean_is_exclusive(x_131)) {
 lean_ctor_release(x_131, 0);
 x_164 = x_131;
} else {
 lean_dec_ref(x_131);
 x_164 = lean_box(0);
}
if (lean_is_scalar(x_164)) {
 x_165 = lean_alloc_ctor(1, 1, 0);
} else {
 x_165 = x_164;
}
lean_ctor_set(x_165, 0, x_163);
return x_165;
}
}
else
{
lean_object* x_166; 
lean_dec(x_125);
lean_dec_ref(x_22);
lean_dec(x_18);
lean_dec(x_8);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_166 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_166, 0, x_25);
return x_166;
}
}
}
else
{
uint8_t x_167; 
lean_dec_ref(x_22);
lean_dec(x_18);
lean_dec(x_8);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_167 = !lean_is_exclusive(x_26);
if (x_167 == 0)
{
return x_26;
}
else
{
lean_object* x_168; lean_object* x_169; 
x_168 = lean_ctor_get(x_26, 0);
lean_inc(x_168);
lean_dec(x_26);
x_169 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_169, 0, x_168);
return x_169;
}
}
}
else
{
uint8_t x_170; 
lean_dec(x_12);
lean_dec(x_10);
lean_dec(x_8);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_170 = !lean_is_exclusive(x_17);
if (x_170 == 0)
{
return x_17;
}
else
{
lean_object* x_171; lean_object* x_172; 
x_171 = lean_ctor_get(x_17, 0);
lean_inc(x_171);
lean_dec(x_17);
x_172 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_172, 0, x_171);
return x_172;
}
}
}
else
{
uint8_t x_173; 
lean_dec(x_10);
lean_dec(x_8);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_173 = !lean_is_exclusive(x_11);
if (x_173 == 0)
{
return x_11;
}
else
{
lean_object* x_174; lean_object* x_175; 
x_174 = lean_ctor_get(x_11, 0);
lean_inc(x_174);
lean_dec(x_11);
x_175 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_175, 0, x_174);
return x_175;
}
}
}
else
{
uint8_t x_176; 
lean_dec(x_8);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_176 = !lean_is_exclusive(x_9);
if (x_176 == 0)
{
return x_9;
}
else
{
lean_object* x_177; lean_object* x_178; 
x_177 = lean_ctor_get(x_9, 0);
lean_inc(x_177);
lean_dec(x_9);
x_178 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_178, 0, x_177);
return x_178;
}
}
}
else
{
uint8_t x_179; 
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_179 = !lean_is_exclusive(x_7);
if (x_179 == 0)
{
return x_7;
}
else
{
lean_object* x_180; lean_object* x_181; 
x_180 = lean_ctor_get(x_7, 0);
lean_inc(x_180);
lean_dec(x_7);
x_181 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_181, 0, x_180);
return x_181;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_coerceToSort_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_coerceToSort_x3f(x_1, x_2, x_3, x_4, x_5);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_4; 
x_4 = l_Lean_Expr_hasMVar(x_1);
if (x_4 == 0)
{
lean_object* x_5; 
x_5 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_5, 0, x_1);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; 
x_6 = lean_st_ref_get(x_2);
x_7 = lean_ctor_get(x_6, 0);
lean_inc_ref(x_7);
lean_dec(x_6);
x_8 = l_Lean_instantiateMVarsCore(x_7, x_1);
x_9 = lean_ctor_get(x_8, 0);
lean_inc(x_9);
x_10 = lean_ctor_get(x_8, 1);
lean_inc(x_10);
lean_dec_ref(x_8);
x_11 = lean_st_ref_take(x_2);
x_12 = !lean_is_exclusive(x_11);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_13 = lean_ctor_get(x_11, 0);
lean_dec(x_13);
lean_ctor_set(x_11, 0, x_10);
x_14 = lean_st_ref_set(x_2, x_11);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_9);
return x_15;
}
else
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_16 = lean_ctor_get(x_11, 1);
x_17 = lean_ctor_get(x_11, 2);
x_18 = lean_ctor_get(x_11, 3);
x_19 = lean_ctor_get(x_11, 4);
lean_inc(x_19);
lean_inc(x_18);
lean_inc(x_17);
lean_inc(x_16);
lean_dec(x_11);
x_20 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_20, 0, x_10);
lean_ctor_set(x_20, 1, x_16);
lean_ctor_set(x_20, 2, x_17);
lean_ctor_set(x_20, 3, x_18);
lean_ctor_set(x_20, 4, x_19);
x_21 = lean_st_ref_set(x_2, x_20);
x_22 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_22, 0, x_9);
return x_22;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg(x_1, x_3);
return x_7;
}
}
static uint64_t _init_l_Lean_Meta_isTypeApp_x3f___closed__0() {
_start:
{
uint8_t x_1; uint64_t x_2; 
x_1 = 2;
x_2 = l_Lean_Meta_TransparencyMode_toUInt64(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isTypeApp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_Context_config(x_2);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; uint64_t x_19; uint8_t x_20; 
x_9 = lean_ctor_get_uint8(x_2, sizeof(void*)*7);
x_10 = lean_ctor_get(x_2, 1);
lean_inc(x_10);
x_11 = lean_ctor_get(x_2, 2);
lean_inc_ref(x_11);
x_12 = lean_ctor_get(x_2, 3);
lean_inc_ref(x_12);
x_13 = lean_ctor_get(x_2, 4);
lean_inc(x_13);
x_14 = lean_ctor_get(x_2, 5);
lean_inc(x_14);
x_15 = lean_ctor_get(x_2, 6);
lean_inc(x_15);
x_16 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 1);
x_17 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 2);
x_18 = 2;
lean_ctor_set_uint8(x_7, 9, x_18);
x_19 = l_Lean_Meta_Context_configKey(x_2);
x_20 = !lean_is_exclusive(x_2);
if (x_20 == 0)
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint64_t x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; lean_object* x_33; lean_object* x_34; 
x_21 = lean_ctor_get(x_2, 6);
lean_dec(x_21);
x_22 = lean_ctor_get(x_2, 5);
lean_dec(x_22);
x_23 = lean_ctor_get(x_2, 4);
lean_dec(x_23);
x_24 = lean_ctor_get(x_2, 3);
lean_dec(x_24);
x_25 = lean_ctor_get(x_2, 2);
lean_dec(x_25);
x_26 = lean_ctor_get(x_2, 1);
lean_dec(x_26);
x_27 = lean_ctor_get(x_2, 0);
lean_dec(x_27);
x_28 = 2;
x_29 = lean_uint64_shift_right(x_19, x_28);
x_30 = lean_uint64_shift_left(x_29, x_28);
x_31 = l_Lean_Meta_isTypeApp_x3f___closed__0;
x_32 = lean_uint64_lor(x_30, x_31);
x_33 = lean_alloc_ctor(0, 1, 8);
lean_ctor_set(x_33, 0, x_7);
lean_ctor_set_uint64(x_33, sizeof(void*)*1, x_32);
lean_ctor_set(x_2, 0, x_33);
lean_inc(x_3);
x_34 = lean_whnf(x_1, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_34) == 0)
{
uint8_t x_35; 
x_35 = !lean_is_exclusive(x_34);
if (x_35 == 0)
{
lean_object* x_36; 
x_36 = lean_ctor_get(x_34, 0);
if (lean_obj_tag(x_36) == 5)
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; 
lean_free_object(x_34);
x_37 = lean_ctor_get(x_36, 0);
lean_inc_ref(x_37);
x_38 = lean_ctor_get(x_36, 1);
lean_inc_ref(x_38);
lean_dec_ref(x_36);
x_39 = l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg(x_37, x_3);
x_40 = !lean_is_exclusive(x_39);
if (x_40 == 0)
{
lean_object* x_41; lean_object* x_42; uint8_t x_43; 
x_41 = lean_ctor_get(x_39, 0);
x_42 = l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg(x_38, x_3);
lean_dec(x_3);
x_43 = !lean_is_exclusive(x_42);
if (x_43 == 0)
{
lean_object* x_44; lean_object* x_45; 
x_44 = lean_ctor_get(x_42, 0);
x_45 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_45, 0, x_41);
lean_ctor_set(x_45, 1, x_44);
lean_ctor_set_tag(x_39, 1);
lean_ctor_set(x_39, 0, x_45);
lean_ctor_set(x_42, 0, x_39);
return x_42;
}
else
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; 
x_46 = lean_ctor_get(x_42, 0);
lean_inc(x_46);
lean_dec(x_42);
x_47 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_47, 0, x_41);
lean_ctor_set(x_47, 1, x_46);
lean_ctor_set_tag(x_39, 1);
lean_ctor_set(x_39, 0, x_47);
x_48 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_48, 0, x_39);
return x_48;
}
}
else
{
lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; 
x_49 = lean_ctor_get(x_39, 0);
lean_inc(x_49);
lean_dec(x_39);
x_50 = l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg(x_38, x_3);
lean_dec(x_3);
x_51 = lean_ctor_get(x_50, 0);
lean_inc(x_51);
if (lean_is_exclusive(x_50)) {
 lean_ctor_release(x_50, 0);
 x_52 = x_50;
} else {
 lean_dec_ref(x_50);
 x_52 = lean_box(0);
}
x_53 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_53, 0, x_49);
lean_ctor_set(x_53, 1, x_51);
x_54 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_54, 0, x_53);
if (lean_is_scalar(x_52)) {
 x_55 = lean_alloc_ctor(0, 1, 0);
} else {
 x_55 = x_52;
}
lean_ctor_set(x_55, 0, x_54);
return x_55;
}
}
else
{
lean_object* x_56; 
lean_dec(x_36);
lean_dec(x_3);
x_56 = lean_box(0);
lean_ctor_set(x_34, 0, x_56);
return x_34;
}
}
else
{
lean_object* x_57; 
x_57 = lean_ctor_get(x_34, 0);
lean_inc(x_57);
lean_dec(x_34);
if (lean_obj_tag(x_57) == 5)
{
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; 
x_58 = lean_ctor_get(x_57, 0);
lean_inc_ref(x_58);
x_59 = lean_ctor_get(x_57, 1);
lean_inc_ref(x_59);
lean_dec_ref(x_57);
x_60 = l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg(x_58, x_3);
x_61 = lean_ctor_get(x_60, 0);
lean_inc(x_61);
if (lean_is_exclusive(x_60)) {
 lean_ctor_release(x_60, 0);
 x_62 = x_60;
} else {
 lean_dec_ref(x_60);
 x_62 = lean_box(0);
}
x_63 = l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg(x_59, x_3);
lean_dec(x_3);
x_64 = lean_ctor_get(x_63, 0);
lean_inc(x_64);
if (lean_is_exclusive(x_63)) {
 lean_ctor_release(x_63, 0);
 x_65 = x_63;
} else {
 lean_dec_ref(x_63);
 x_65 = lean_box(0);
}
x_66 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_66, 0, x_61);
lean_ctor_set(x_66, 1, x_64);
if (lean_is_scalar(x_62)) {
 x_67 = lean_alloc_ctor(1, 1, 0);
} else {
 x_67 = x_62;
 lean_ctor_set_tag(x_67, 1);
}
lean_ctor_set(x_67, 0, x_66);
if (lean_is_scalar(x_65)) {
 x_68 = lean_alloc_ctor(0, 1, 0);
} else {
 x_68 = x_65;
}
lean_ctor_set(x_68, 0, x_67);
return x_68;
}
else
{
lean_object* x_69; lean_object* x_70; 
lean_dec(x_57);
lean_dec(x_3);
x_69 = lean_box(0);
x_70 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_70, 0, x_69);
return x_70;
}
}
}
else
{
uint8_t x_71; 
lean_dec(x_3);
x_71 = !lean_is_exclusive(x_34);
if (x_71 == 0)
{
return x_34;
}
else
{
lean_object* x_72; lean_object* x_73; 
x_72 = lean_ctor_get(x_34, 0);
lean_inc(x_72);
lean_dec(x_34);
x_73 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_73, 0, x_72);
return x_73;
}
}
}
else
{
uint64_t x_74; uint64_t x_75; uint64_t x_76; uint64_t x_77; uint64_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; 
lean_dec(x_2);
x_74 = 2;
x_75 = lean_uint64_shift_right(x_19, x_74);
x_76 = lean_uint64_shift_left(x_75, x_74);
x_77 = l_Lean_Meta_isTypeApp_x3f___closed__0;
x_78 = lean_uint64_lor(x_76, x_77);
x_79 = lean_alloc_ctor(0, 1, 8);
lean_ctor_set(x_79, 0, x_7);
lean_ctor_set_uint64(x_79, sizeof(void*)*1, x_78);
x_80 = lean_alloc_ctor(0, 7, 3);
lean_ctor_set(x_80, 0, x_79);
lean_ctor_set(x_80, 1, x_10);
lean_ctor_set(x_80, 2, x_11);
lean_ctor_set(x_80, 3, x_12);
lean_ctor_set(x_80, 4, x_13);
lean_ctor_set(x_80, 5, x_14);
lean_ctor_set(x_80, 6, x_15);
lean_ctor_set_uint8(x_80, sizeof(void*)*7, x_9);
lean_ctor_set_uint8(x_80, sizeof(void*)*7 + 1, x_16);
lean_ctor_set_uint8(x_80, sizeof(void*)*7 + 2, x_17);
lean_inc(x_3);
x_81 = lean_whnf(x_1, x_80, x_3, x_4, x_5);
if (lean_obj_tag(x_81) == 0)
{
lean_object* x_82; lean_object* x_83; 
x_82 = lean_ctor_get(x_81, 0);
lean_inc(x_82);
if (lean_is_exclusive(x_81)) {
 lean_ctor_release(x_81, 0);
 x_83 = x_81;
} else {
 lean_dec_ref(x_81);
 x_83 = lean_box(0);
}
if (lean_obj_tag(x_82) == 5)
{
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; 
lean_dec(x_83);
x_84 = lean_ctor_get(x_82, 0);
lean_inc_ref(x_84);
x_85 = lean_ctor_get(x_82, 1);
lean_inc_ref(x_85);
lean_dec_ref(x_82);
x_86 = l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg(x_84, x_3);
x_87 = lean_ctor_get(x_86, 0);
lean_inc(x_87);
if (lean_is_exclusive(x_86)) {
 lean_ctor_release(x_86, 0);
 x_88 = x_86;
} else {
 lean_dec_ref(x_86);
 x_88 = lean_box(0);
}
x_89 = l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg(x_85, x_3);
lean_dec(x_3);
x_90 = lean_ctor_get(x_89, 0);
lean_inc(x_90);
if (lean_is_exclusive(x_89)) {
 lean_ctor_release(x_89, 0);
 x_91 = x_89;
} else {
 lean_dec_ref(x_89);
 x_91 = lean_box(0);
}
x_92 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_92, 0, x_87);
lean_ctor_set(x_92, 1, x_90);
if (lean_is_scalar(x_88)) {
 x_93 = lean_alloc_ctor(1, 1, 0);
} else {
 x_93 = x_88;
 lean_ctor_set_tag(x_93, 1);
}
lean_ctor_set(x_93, 0, x_92);
if (lean_is_scalar(x_91)) {
 x_94 = lean_alloc_ctor(0, 1, 0);
} else {
 x_94 = x_91;
}
lean_ctor_set(x_94, 0, x_93);
return x_94;
}
else
{
lean_object* x_95; lean_object* x_96; 
lean_dec(x_82);
lean_dec(x_3);
x_95 = lean_box(0);
if (lean_is_scalar(x_83)) {
 x_96 = lean_alloc_ctor(0, 1, 0);
} else {
 x_96 = x_83;
}
lean_ctor_set(x_96, 0, x_95);
return x_96;
}
}
else
{
lean_object* x_97; lean_object* x_98; lean_object* x_99; 
lean_dec(x_3);
x_97 = lean_ctor_get(x_81, 0);
lean_inc(x_97);
if (lean_is_exclusive(x_81)) {
 lean_ctor_release(x_81, 0);
 x_98 = x_81;
} else {
 lean_dec_ref(x_81);
 x_98 = lean_box(0);
}
if (lean_is_scalar(x_98)) {
 x_99 = lean_alloc_ctor(1, 1, 0);
} else {
 x_99 = x_98;
}
lean_ctor_set(x_99, 0, x_97);
return x_99;
}
}
}
else
{
uint8_t x_100; uint8_t x_101; uint8_t x_102; uint8_t x_103; uint8_t x_104; uint8_t x_105; uint8_t x_106; uint8_t x_107; uint8_t x_108; uint8_t x_109; uint8_t x_110; uint8_t x_111; uint8_t x_112; uint8_t x_113; uint8_t x_114; uint8_t x_115; uint8_t x_116; uint8_t x_117; uint8_t x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; uint8_t x_126; uint8_t x_127; lean_object* x_128; uint64_t x_129; lean_object* x_130; uint64_t x_131; uint64_t x_132; uint64_t x_133; uint64_t x_134; uint64_t x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; 
x_100 = lean_ctor_get_uint8(x_7, 0);
x_101 = lean_ctor_get_uint8(x_7, 1);
x_102 = lean_ctor_get_uint8(x_7, 2);
x_103 = lean_ctor_get_uint8(x_7, 3);
x_104 = lean_ctor_get_uint8(x_7, 4);
x_105 = lean_ctor_get_uint8(x_7, 5);
x_106 = lean_ctor_get_uint8(x_7, 6);
x_107 = lean_ctor_get_uint8(x_7, 7);
x_108 = lean_ctor_get_uint8(x_7, 8);
x_109 = lean_ctor_get_uint8(x_7, 10);
x_110 = lean_ctor_get_uint8(x_7, 11);
x_111 = lean_ctor_get_uint8(x_7, 12);
x_112 = lean_ctor_get_uint8(x_7, 13);
x_113 = lean_ctor_get_uint8(x_7, 14);
x_114 = lean_ctor_get_uint8(x_7, 15);
x_115 = lean_ctor_get_uint8(x_7, 16);
x_116 = lean_ctor_get_uint8(x_7, 17);
x_117 = lean_ctor_get_uint8(x_7, 18);
lean_dec(x_7);
x_118 = lean_ctor_get_uint8(x_2, sizeof(void*)*7);
x_119 = lean_ctor_get(x_2, 1);
lean_inc(x_119);
x_120 = lean_ctor_get(x_2, 2);
lean_inc_ref(x_120);
x_121 = lean_ctor_get(x_2, 3);
lean_inc_ref(x_121);
x_122 = lean_ctor_get(x_2, 4);
lean_inc(x_122);
x_123 = lean_ctor_get(x_2, 5);
lean_inc(x_123);
x_124 = lean_ctor_get(x_2, 6);
lean_inc(x_124);
x_125 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 1);
x_126 = lean_ctor_get_uint8(x_2, sizeof(void*)*7 + 2);
x_127 = 2;
x_128 = lean_alloc_ctor(0, 0, 19);
lean_ctor_set_uint8(x_128, 0, x_100);
lean_ctor_set_uint8(x_128, 1, x_101);
lean_ctor_set_uint8(x_128, 2, x_102);
lean_ctor_set_uint8(x_128, 3, x_103);
lean_ctor_set_uint8(x_128, 4, x_104);
lean_ctor_set_uint8(x_128, 5, x_105);
lean_ctor_set_uint8(x_128, 6, x_106);
lean_ctor_set_uint8(x_128, 7, x_107);
lean_ctor_set_uint8(x_128, 8, x_108);
lean_ctor_set_uint8(x_128, 9, x_127);
lean_ctor_set_uint8(x_128, 10, x_109);
lean_ctor_set_uint8(x_128, 11, x_110);
lean_ctor_set_uint8(x_128, 12, x_111);
lean_ctor_set_uint8(x_128, 13, x_112);
lean_ctor_set_uint8(x_128, 14, x_113);
lean_ctor_set_uint8(x_128, 15, x_114);
lean_ctor_set_uint8(x_128, 16, x_115);
lean_ctor_set_uint8(x_128, 17, x_116);
lean_ctor_set_uint8(x_128, 18, x_117);
x_129 = l_Lean_Meta_Context_configKey(x_2);
if (lean_is_exclusive(x_2)) {
 lean_ctor_release(x_2, 0);
 lean_ctor_release(x_2, 1);
 lean_ctor_release(x_2, 2);
 lean_ctor_release(x_2, 3);
 lean_ctor_release(x_2, 4);
 lean_ctor_release(x_2, 5);
 lean_ctor_release(x_2, 6);
 x_130 = x_2;
} else {
 lean_dec_ref(x_2);
 x_130 = lean_box(0);
}
x_131 = 2;
x_132 = lean_uint64_shift_right(x_129, x_131);
x_133 = lean_uint64_shift_left(x_132, x_131);
x_134 = l_Lean_Meta_isTypeApp_x3f___closed__0;
x_135 = lean_uint64_lor(x_133, x_134);
x_136 = lean_alloc_ctor(0, 1, 8);
lean_ctor_set(x_136, 0, x_128);
lean_ctor_set_uint64(x_136, sizeof(void*)*1, x_135);
if (lean_is_scalar(x_130)) {
 x_137 = lean_alloc_ctor(0, 7, 3);
} else {
 x_137 = x_130;
}
lean_ctor_set(x_137, 0, x_136);
lean_ctor_set(x_137, 1, x_119);
lean_ctor_set(x_137, 2, x_120);
lean_ctor_set(x_137, 3, x_121);
lean_ctor_set(x_137, 4, x_122);
lean_ctor_set(x_137, 5, x_123);
lean_ctor_set(x_137, 6, x_124);
lean_ctor_set_uint8(x_137, sizeof(void*)*7, x_118);
lean_ctor_set_uint8(x_137, sizeof(void*)*7 + 1, x_125);
lean_ctor_set_uint8(x_137, sizeof(void*)*7 + 2, x_126);
lean_inc(x_3);
x_138 = lean_whnf(x_1, x_137, x_3, x_4, x_5);
if (lean_obj_tag(x_138) == 0)
{
lean_object* x_139; lean_object* x_140; 
x_139 = lean_ctor_get(x_138, 0);
lean_inc(x_139);
if (lean_is_exclusive(x_138)) {
 lean_ctor_release(x_138, 0);
 x_140 = x_138;
} else {
 lean_dec_ref(x_138);
 x_140 = lean_box(0);
}
if (lean_obj_tag(x_139) == 5)
{
lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; 
lean_dec(x_140);
x_141 = lean_ctor_get(x_139, 0);
lean_inc_ref(x_141);
x_142 = lean_ctor_get(x_139, 1);
lean_inc_ref(x_142);
lean_dec_ref(x_139);
x_143 = l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg(x_141, x_3);
x_144 = lean_ctor_get(x_143, 0);
lean_inc(x_144);
if (lean_is_exclusive(x_143)) {
 lean_ctor_release(x_143, 0);
 x_145 = x_143;
} else {
 lean_dec_ref(x_143);
 x_145 = lean_box(0);
}
x_146 = l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg(x_142, x_3);
lean_dec(x_3);
x_147 = lean_ctor_get(x_146, 0);
lean_inc(x_147);
if (lean_is_exclusive(x_146)) {
 lean_ctor_release(x_146, 0);
 x_148 = x_146;
} else {
 lean_dec_ref(x_146);
 x_148 = lean_box(0);
}
x_149 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_149, 0, x_144);
lean_ctor_set(x_149, 1, x_147);
if (lean_is_scalar(x_145)) {
 x_150 = lean_alloc_ctor(1, 1, 0);
} else {
 x_150 = x_145;
 lean_ctor_set_tag(x_150, 1);
}
lean_ctor_set(x_150, 0, x_149);
if (lean_is_scalar(x_148)) {
 x_151 = lean_alloc_ctor(0, 1, 0);
} else {
 x_151 = x_148;
}
lean_ctor_set(x_151, 0, x_150);
return x_151;
}
else
{
lean_object* x_152; lean_object* x_153; 
lean_dec(x_139);
lean_dec(x_3);
x_152 = lean_box(0);
if (lean_is_scalar(x_140)) {
 x_153 = lean_alloc_ctor(0, 1, 0);
} else {
 x_153 = x_140;
}
lean_ctor_set(x_153, 0, x_152);
return x_153;
}
}
else
{
lean_object* x_154; lean_object* x_155; lean_object* x_156; 
lean_dec(x_3);
x_154 = lean_ctor_get(x_138, 0);
lean_inc(x_154);
if (lean_is_exclusive(x_138)) {
 lean_ctor_release(x_138, 0);
 x_155 = x_138;
} else {
 lean_dec_ref(x_138);
 x_155 = lean_box(0);
}
if (lean_is_scalar(x_155)) {
 x_156 = lean_alloc_ctor(1, 1, 0);
} else {
 x_156 = x_155;
}
lean_ctor_set(x_156, 0, x_154);
return x_156;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg(x_1, x_2);
lean_dec(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isTypeApp_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_isTypeApp_x3f(x_1, x_2, x_3, x_4, x_5);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isMonadApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; 
lean_inc(x_5);
lean_inc_ref(x_4);
lean_inc(x_3);
lean_inc_ref(x_2);
x_7 = l_Lean_Meta_isTypeApp_x3f(x_1, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_7) == 0)
{
uint8_t x_8; 
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; 
x_9 = lean_ctor_get(x_7, 0);
if (lean_obj_tag(x_9) == 1)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
lean_free_object(x_7);
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
lean_dec_ref(x_9);
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
lean_dec(x_10);
x_12 = l_Lean_Meta_isMonad_x3f(x_11, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_13; 
x_13 = !lean_is_exclusive(x_12);
if (x_13 == 0)
{
lean_object* x_14; 
x_14 = lean_ctor_get(x_12, 0);
if (lean_obj_tag(x_14) == 0)
{
uint8_t x_15; lean_object* x_16; 
x_15 = 0;
x_16 = lean_box(x_15);
lean_ctor_set(x_12, 0, x_16);
return x_12;
}
else
{
uint8_t x_17; lean_object* x_18; 
lean_dec_ref(x_14);
x_17 = 1;
x_18 = lean_box(x_17);
lean_ctor_set(x_12, 0, x_18);
return x_12;
}
}
else
{
lean_object* x_19; 
x_19 = lean_ctor_get(x_12, 0);
lean_inc(x_19);
lean_dec(x_12);
if (lean_obj_tag(x_19) == 0)
{
uint8_t x_20; lean_object* x_21; lean_object* x_22; 
x_20 = 0;
x_21 = lean_box(x_20);
x_22 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_22, 0, x_21);
return x_22;
}
else
{
uint8_t x_23; lean_object* x_24; lean_object* x_25; 
lean_dec_ref(x_19);
x_23 = 1;
x_24 = lean_box(x_23);
x_25 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_25, 0, x_24);
return x_25;
}
}
}
else
{
uint8_t x_26; 
x_26 = !lean_is_exclusive(x_12);
if (x_26 == 0)
{
return x_12;
}
else
{
lean_object* x_27; lean_object* x_28; 
x_27 = lean_ctor_get(x_12, 0);
lean_inc(x_27);
lean_dec(x_12);
x_28 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_28, 0, x_27);
return x_28;
}
}
}
else
{
uint8_t x_29; lean_object* x_30; 
lean_dec(x_9);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
x_29 = 0;
x_30 = lean_box(x_29);
lean_ctor_set(x_7, 0, x_30);
return x_7;
}
}
else
{
lean_object* x_31; 
x_31 = lean_ctor_get(x_7, 0);
lean_inc(x_31);
lean_dec(x_7);
if (lean_obj_tag(x_31) == 1)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; 
x_32 = lean_ctor_get(x_31, 0);
lean_inc(x_32);
lean_dec_ref(x_31);
x_33 = lean_ctor_get(x_32, 0);
lean_inc(x_33);
lean_dec(x_32);
x_34 = l_Lean_Meta_isMonad_x3f(x_33, x_2, x_3, x_4, x_5);
if (lean_obj_tag(x_34) == 0)
{
lean_object* x_35; lean_object* x_36; 
x_35 = lean_ctor_get(x_34, 0);
lean_inc(x_35);
if (lean_is_exclusive(x_34)) {
 lean_ctor_release(x_34, 0);
 x_36 = x_34;
} else {
 lean_dec_ref(x_34);
 x_36 = lean_box(0);
}
if (lean_obj_tag(x_35) == 0)
{
uint8_t x_37; lean_object* x_38; lean_object* x_39; 
x_37 = 0;
x_38 = lean_box(x_37);
if (lean_is_scalar(x_36)) {
 x_39 = lean_alloc_ctor(0, 1, 0);
} else {
 x_39 = x_36;
}
lean_ctor_set(x_39, 0, x_38);
return x_39;
}
else
{
uint8_t x_40; lean_object* x_41; lean_object* x_42; 
lean_dec_ref(x_35);
x_40 = 1;
x_41 = lean_box(x_40);
if (lean_is_scalar(x_36)) {
 x_42 = lean_alloc_ctor(0, 1, 0);
} else {
 x_42 = x_36;
}
lean_ctor_set(x_42, 0, x_41);
return x_42;
}
}
else
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; 
x_43 = lean_ctor_get(x_34, 0);
lean_inc(x_43);
if (lean_is_exclusive(x_34)) {
 lean_ctor_release(x_34, 0);
 x_44 = x_34;
} else {
 lean_dec_ref(x_34);
 x_44 = lean_box(0);
}
if (lean_is_scalar(x_44)) {
 x_45 = lean_alloc_ctor(1, 1, 0);
} else {
 x_45 = x_44;
}
lean_ctor_set(x_45, 0, x_43);
return x_45;
}
}
else
{
uint8_t x_46; lean_object* x_47; lean_object* x_48; 
lean_dec(x_31);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
x_46 = 0;
x_47 = lean_box(x_46);
x_48 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_48, 0, x_47);
return x_48;
}
}
}
else
{
uint8_t x_49; 
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
x_49 = !lean_is_exclusive(x_7);
if (x_49 == 0)
{
return x_7;
}
else
{
lean_object* x_50; lean_object* x_51; 
x_50 = lean_ctor_get(x_7, 0);
lean_inc(x_50);
lean_dec(x_7);
x_51 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_51, 0, x_50);
return x_51;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isMonadApp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_isMonadApp(x_1, x_2, x_3, x_4, x_5);
return x_7;
}
}
LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_Meta_coerceMonadLift_x3f_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_3 = lean_ctor_get(x_2, 0);
x_4 = lean_ctor_get(x_2, 1);
x_5 = l_Lean_KVMap_find(x_1, x_3);
if (lean_obj_tag(x_5) == 0)
{
uint8_t x_6; 
x_6 = lean_unbox(x_4);
return x_6;
}
else
{
lean_object* x_7; 
x_7 = lean_ctor_get(x_5, 0);
lean_inc(x_7);
lean_dec_ref(x_5);
if (lean_obj_tag(x_7) == 1)
{
uint8_t x_8; 
x_8 = lean_ctor_get_uint8(x_7, 0);
lean_dec_ref(x_7);
return x_8;
}
else
{
uint8_t x_9; 
lean_dec(x_7);
x_9 = lean_unbox(x_4);
return x_9;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_coerceMonadLift_x3f___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; lean_object* x_8; 
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Meta_autoLift;
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("MonadLiftT", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_coerceMonadLift_x3f___closed__1;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(2u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("liftM", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_coerceMonadLift_x3f___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(5u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("a", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_coerceMonadLift_x3f___closed__7;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_mkBVar(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Internal", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("liftCoeM", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Meta_coerceMonadLift_x3f___closed__11;
x_2 = l_Lean_Meta_coerceMonadLift_x3f___closed__10;
x_3 = l_Lean_Meta_initFn___closed__3_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(8u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("coeM", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Meta_coerceMonadLift_x3f___closed__14;
x_2 = l_Lean_Meta_coerceMonadLift_x3f___closed__10;
x_3 = l_Lean_Meta_initFn___closed__3_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Meta_coerceMonadLift_x3f___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(6u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_coerceMonadLift_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_20; lean_object* x_23; uint8_t x_24; 
x_23 = l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg(x_2, x_4);
x_24 = !lean_is_exclusive(x_23);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; 
x_25 = lean_ctor_get(x_23, 0);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_1);
x_26 = lean_infer_type(x_1, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_26) == 0)
{
lean_object* x_27; lean_object* x_28; uint8_t x_29; 
x_27 = lean_ctor_get(x_26, 0);
lean_inc(x_27);
lean_dec_ref(x_26);
x_28 = l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg(x_27, x_4);
x_29 = !lean_is_exclusive(x_28);
if (x_29 == 0)
{
lean_object* x_30; lean_object* x_31; 
x_30 = lean_ctor_get(x_28, 0);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_31 = l_Lean_Meta_isTypeApp_x3f(x_25, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_31) == 0)
{
uint8_t x_32; 
x_32 = !lean_is_exclusive(x_31);
if (x_32 == 0)
{
lean_object* x_33; 
x_33 = lean_ctor_get(x_31, 0);
if (lean_obj_tag(x_33) == 1)
{
uint8_t x_34; 
lean_free_object(x_31);
x_34 = !lean_is_exclusive(x_33);
if (x_34 == 0)
{
lean_object* x_35; uint8_t x_36; 
x_35 = lean_ctor_get(x_33, 0);
x_36 = !lean_is_exclusive(x_35);
if (x_36 == 0)
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_37 = lean_ctor_get(x_35, 0);
x_38 = lean_ctor_get(x_35, 1);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_30);
x_39 = l_Lean_Meta_isTypeApp_x3f(x_30, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_39) == 0)
{
uint8_t x_40; 
x_40 = !lean_is_exclusive(x_39);
if (x_40 == 0)
{
lean_object* x_41; 
x_41 = lean_ctor_get(x_39, 0);
if (lean_obj_tag(x_41) == 1)
{
uint8_t x_42; 
lean_free_object(x_39);
x_42 = !lean_is_exclusive(x_41);
if (x_42 == 0)
{
lean_object* x_43; uint8_t x_44; 
x_43 = lean_ctor_get(x_41, 0);
x_44 = !lean_is_exclusive(x_43);
if (x_44 == 0)
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; 
x_45 = lean_ctor_get(x_43, 0);
x_46 = lean_ctor_get(x_43, 1);
x_47 = l_Lean_Meta_saveState___redArg(x_4, x_6);
if (lean_obj_tag(x_47) == 0)
{
lean_object* x_48; lean_object* x_49; 
x_48 = lean_ctor_get(x_47, 0);
lean_inc(x_48);
lean_dec_ref(x_47);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
lean_inc(x_45);
x_49 = l_Lean_Meta_isExprDefEq(x_45, x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_49) == 0)
{
uint8_t x_50; 
x_50 = !lean_is_exclusive(x_49);
if (x_50 == 0)
{
lean_object* x_51; uint8_t x_52; 
x_51 = lean_ctor_get(x_49, 0);
x_52 = lean_unbox(x_51);
lean_dec(x_51);
if (x_52 == 0)
{
lean_object* x_53; lean_object* x_54; uint8_t x_55; 
lean_dec(x_48);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
x_53 = lean_ctor_get(x_5, 2);
x_54 = l_Lean_Meta_coerceMonadLift_x3f___closed__0;
x_55 = l_Lean_Option_get___at___00Lean_Meta_coerceMonadLift_x3f_spec__0(x_53, x_54);
if (x_55 == 0)
{
lean_object* x_56; 
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_56 = lean_box(0);
lean_ctor_set(x_49, 0, x_56);
return x_49;
}
else
{
lean_object* x_57; 
lean_free_object(x_49);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_45);
x_57 = lean_infer_type(x_45, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_57) == 0)
{
lean_object* x_58; lean_object* x_59; 
x_58 = lean_ctor_get(x_57, 0);
lean_inc(x_58);
lean_dec_ref(x_57);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_59 = lean_whnf(x_58, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_59) == 0)
{
lean_object* x_60; 
x_60 = lean_ctor_get(x_59, 0);
lean_inc(x_60);
lean_dec_ref(x_59);
if (lean_obj_tag(x_60) == 7)
{
lean_object* x_61; 
x_61 = lean_ctor_get(x_60, 1);
if (lean_obj_tag(x_61) == 3)
{
lean_object* x_62; 
x_62 = lean_ctor_get(x_60, 2);
if (lean_obj_tag(x_62) == 3)
{
lean_object* x_63; lean_object* x_64; lean_object* x_65; 
lean_inc_ref(x_62);
lean_inc_ref(x_61);
lean_dec_ref(x_60);
x_63 = lean_ctor_get(x_61, 0);
lean_inc(x_63);
lean_dec_ref(x_61);
x_64 = lean_ctor_get(x_62, 0);
lean_inc(x_64);
lean_dec_ref(x_62);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
x_65 = lean_infer_type(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_65) == 0)
{
lean_object* x_66; lean_object* x_67; 
x_66 = lean_ctor_get(x_65, 0);
lean_inc(x_66);
lean_dec_ref(x_65);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_67 = lean_whnf(x_66, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_67) == 0)
{
lean_object* x_68; 
x_68 = lean_ctor_get(x_67, 0);
lean_inc(x_68);
lean_dec_ref(x_67);
if (lean_obj_tag(x_68) == 7)
{
lean_object* x_69; 
x_69 = lean_ctor_get(x_68, 1);
if (lean_obj_tag(x_69) == 3)
{
lean_object* x_70; 
x_70 = lean_ctor_get(x_68, 2);
if (lean_obj_tag(x_70) == 3)
{
lean_object* x_71; lean_object* x_72; lean_object* x_73; 
lean_inc_ref(x_70);
lean_inc_ref(x_69);
lean_dec_ref(x_68);
x_71 = lean_ctor_get(x_69, 0);
lean_inc(x_71);
lean_dec_ref(x_69);
x_72 = lean_ctor_get(x_70, 0);
lean_inc(x_72);
lean_dec_ref(x_70);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_73 = l_Lean_Meta_decLevel(x_63, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_73) == 0)
{
lean_object* x_74; lean_object* x_75; 
x_74 = lean_ctor_get(x_73, 0);
lean_inc(x_74);
lean_dec_ref(x_73);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_75 = l_Lean_Meta_decLevel(x_71, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_75) == 0)
{
lean_object* x_76; lean_object* x_77; 
x_76 = lean_ctor_get(x_75, 0);
lean_inc(x_76);
lean_dec_ref(x_75);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_74);
x_77 = l_Lean_Meta_isLevelDefEq(x_74, x_76, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_77) == 0)
{
uint8_t x_78; 
x_78 = !lean_is_exclusive(x_77);
if (x_78 == 0)
{
lean_object* x_79; uint8_t x_80; 
x_79 = lean_ctor_get(x_77, 0);
x_80 = lean_unbox(x_79);
lean_dec(x_79);
if (x_80 == 1)
{
lean_object* x_81; 
lean_free_object(x_77);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_81 = l_Lean_Meta_decLevel(x_64, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_81) == 0)
{
lean_object* x_82; lean_object* x_83; 
x_82 = lean_ctor_get(x_81, 0);
lean_inc(x_82);
lean_dec_ref(x_81);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_83 = l_Lean_Meta_decLevel(x_72, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_83) == 0)
{
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; 
x_84 = lean_ctor_get(x_83, 0);
lean_inc(x_84);
lean_dec_ref(x_83);
x_85 = l_Lean_Meta_coerceMonadLift_x3f___closed__2;
x_86 = lean_box(0);
lean_ctor_set_tag(x_43, 1);
lean_ctor_set(x_43, 1, x_86);
lean_ctor_set(x_43, 0, x_84);
lean_ctor_set_tag(x_35, 1);
lean_ctor_set(x_35, 1, x_43);
lean_ctor_set(x_35, 0, x_82);
x_87 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_87, 0, x_74);
lean_ctor_set(x_87, 1, x_35);
x_88 = l_Lean_Expr_const___override(x_85, x_87);
x_89 = l_Lean_Meta_coerceMonadLift_x3f___closed__3;
lean_inc(x_45);
x_90 = lean_array_push(x_89, x_45);
lean_inc(x_37);
x_91 = lean_array_push(x_90, x_37);
x_92 = l_Lean_mkAppN(x_88, x_91);
lean_dec_ref(x_91);
x_93 = lean_box(0);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_94 = l_Lean_Meta_trySynthInstance(x_92, x_93, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_94) == 0)
{
uint8_t x_95; 
x_95 = !lean_is_exclusive(x_94);
if (x_95 == 0)
{
lean_object* x_96; 
x_96 = lean_ctor_get(x_94, 0);
if (lean_obj_tag(x_96) == 1)
{
lean_object* x_97; lean_object* x_98; 
lean_free_object(x_94);
x_97 = lean_ctor_get(x_96, 0);
lean_inc(x_97);
lean_dec_ref(x_96);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_46);
x_98 = l_Lean_Meta_getDecLevel(x_46, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_98) == 0)
{
lean_object* x_99; lean_object* x_100; 
x_99 = lean_ctor_get(x_98, 0);
lean_inc(x_99);
lean_dec_ref(x_98);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_100 = l_Lean_Meta_getDecLevel(x_30, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_100) == 0)
{
lean_object* x_101; lean_object* x_102; 
x_101 = lean_ctor_get(x_100, 0);
lean_inc(x_101);
lean_dec_ref(x_100);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_102 = l_Lean_Meta_getDecLevel(x_25, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_102) == 0)
{
lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; 
x_103 = lean_ctor_get(x_102, 0);
lean_inc(x_103);
lean_dec_ref(x_102);
x_104 = l_Lean_Meta_coerceMonadLift_x3f___closed__5;
x_105 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_105, 0, x_103);
lean_ctor_set(x_105, 1, x_86);
x_106 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_106, 0, x_101);
lean_ctor_set(x_106, 1, x_105);
x_107 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_107, 0, x_99);
lean_ctor_set(x_107, 1, x_106);
lean_inc_ref(x_107);
x_108 = l_Lean_mkConst(x_104, x_107);
x_109 = l_Lean_Meta_coerceMonadLift_x3f___closed__6;
lean_inc(x_45);
x_110 = lean_array_push(x_109, x_45);
lean_inc(x_37);
x_111 = lean_array_push(x_110, x_37);
lean_inc(x_97);
x_112 = lean_array_push(x_111, x_97);
lean_inc(x_46);
x_113 = lean_array_push(x_112, x_46);
lean_inc_ref(x_1);
x_114 = lean_array_push(x_113, x_1);
x_115 = l_Lean_mkAppN(x_108, x_114);
lean_dec_ref(x_114);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_115);
x_116 = lean_infer_type(x_115, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_116) == 0)
{
lean_object* x_117; lean_object* x_118; 
x_117 = lean_ctor_get(x_116, 0);
lean_inc(x_117);
lean_dec_ref(x_116);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_118 = l_Lean_Meta_isExprDefEq(x_25, x_117, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_118) == 0)
{
uint8_t x_119; 
x_119 = !lean_is_exclusive(x_118);
if (x_119 == 0)
{
lean_object* x_120; uint8_t x_121; 
x_120 = lean_ctor_get(x_118, 0);
x_121 = lean_unbox(x_120);
lean_dec(x_120);
if (x_121 == 0)
{
lean_object* x_122; 
lean_free_object(x_118);
lean_dec_ref(x_115);
lean_free_object(x_41);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
x_122 = l_Lean_Meta_isMonad_x3f(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_122) == 0)
{
uint8_t x_123; 
x_123 = !lean_is_exclusive(x_122);
if (x_123 == 0)
{
lean_object* x_124; 
x_124 = lean_ctor_get(x_122, 0);
if (lean_obj_tag(x_124) == 1)
{
uint8_t x_125; 
lean_free_object(x_122);
x_125 = !lean_is_exclusive(x_124);
if (x_125 == 0)
{
lean_object* x_126; lean_object* x_127; 
x_126 = lean_ctor_get(x_124, 0);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_46);
x_127 = l_Lean_Meta_getLevel(x_46, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_127) == 0)
{
lean_object* x_128; lean_object* x_129; 
x_128 = lean_ctor_get(x_127, 0);
lean_inc(x_128);
lean_dec_ref(x_127);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_38);
x_129 = l_Lean_Meta_getLevel(x_38, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_129) == 0)
{
lean_object* x_130; lean_object* x_131; uint8_t x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; 
x_130 = lean_ctor_get(x_129, 0);
lean_inc(x_130);
lean_dec_ref(x_129);
x_131 = l_Lean_Meta_coerceMonadLift_x3f___closed__8;
x_132 = 0;
x_133 = l_Lean_Meta_coerceSimple_x3f___closed__1;
x_134 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_134, 0, x_130);
lean_ctor_set(x_134, 1, x_86);
x_135 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_135, 0, x_128);
lean_ctor_set(x_135, 1, x_134);
x_136 = l_Lean_mkConst(x_133, x_135);
x_137 = l_Lean_Meta_coerceMonadLift_x3f___closed__9;
x_138 = l_Lean_Meta_coerceSimple_x3f___closed__2;
lean_inc(x_46);
x_139 = lean_array_push(x_138, x_46);
x_140 = lean_array_push(x_139, x_137);
lean_inc(x_38);
x_141 = lean_array_push(x_140, x_38);
x_142 = l_Lean_mkAppN(x_136, x_141);
lean_dec_ref(x_141);
lean_inc(x_46);
x_143 = l_Lean_mkForall(x_131, x_132, x_46, x_142);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_144 = l_Lean_Meta_trySynthInstance(x_143, x_93, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_144) == 0)
{
uint8_t x_145; 
x_145 = !lean_is_exclusive(x_144);
if (x_145 == 0)
{
lean_object* x_146; 
x_146 = lean_ctor_get(x_144, 0);
if (lean_obj_tag(x_146) == 1)
{
lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; 
lean_free_object(x_144);
x_147 = lean_ctor_get(x_146, 0);
lean_inc(x_147);
lean_dec_ref(x_146);
x_148 = l_Lean_Meta_coerceMonadLift_x3f___closed__12;
x_149 = l_Lean_mkConst(x_148, x_107);
x_150 = l_Lean_Meta_coerceMonadLift_x3f___closed__13;
x_151 = lean_array_push(x_150, x_45);
x_152 = lean_array_push(x_151, x_37);
x_153 = lean_array_push(x_152, x_46);
x_154 = lean_array_push(x_153, x_38);
x_155 = lean_array_push(x_154, x_97);
x_156 = lean_array_push(x_155, x_147);
x_157 = lean_array_push(x_156, x_126);
x_158 = lean_array_push(x_157, x_1);
x_159 = l_Lean_mkAppN(x_149, x_158);
lean_dec_ref(x_158);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_160 = l_Lean_Meta_expandCoe(x_159, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_160) == 0)
{
lean_object* x_161; lean_object* x_162; 
x_161 = lean_ctor_get(x_160, 0);
lean_inc(x_161);
lean_dec_ref(x_160);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_161);
x_162 = lean_infer_type(x_161, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_162) == 0)
{
lean_object* x_163; lean_object* x_164; 
x_163 = lean_ctor_get(x_162, 0);
lean_inc(x_163);
lean_dec_ref(x_162);
x_164 = l_Lean_Meta_isExprDefEq(x_25, x_163, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_164) == 0)
{
uint8_t x_165; 
x_165 = !lean_is_exclusive(x_164);
if (x_165 == 0)
{
lean_object* x_166; uint8_t x_167; 
x_166 = lean_ctor_get(x_164, 0);
x_167 = lean_unbox(x_166);
lean_dec(x_166);
if (x_167 == 0)
{
lean_dec(x_161);
lean_free_object(x_124);
lean_ctor_set(x_164, 0, x_93);
return x_164;
}
else
{
lean_ctor_set(x_124, 0, x_161);
lean_ctor_set(x_164, 0, x_124);
return x_164;
}
}
else
{
lean_object* x_168; uint8_t x_169; 
x_168 = lean_ctor_get(x_164, 0);
lean_inc(x_168);
lean_dec(x_164);
x_169 = lean_unbox(x_168);
lean_dec(x_168);
if (x_169 == 0)
{
lean_object* x_170; 
lean_dec(x_161);
lean_free_object(x_124);
x_170 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_170, 0, x_93);
return x_170;
}
else
{
lean_object* x_171; 
lean_ctor_set(x_124, 0, x_161);
x_171 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_171, 0, x_124);
return x_171;
}
}
}
else
{
uint8_t x_172; 
lean_dec(x_161);
lean_free_object(x_124);
x_172 = !lean_is_exclusive(x_164);
if (x_172 == 0)
{
lean_object* x_173; 
x_173 = lean_ctor_get(x_164, 0);
lean_inc(x_173);
x_14 = x_164;
x_15 = x_173;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_174; lean_object* x_175; 
x_174 = lean_ctor_get(x_164, 0);
lean_inc(x_174);
lean_dec(x_164);
lean_inc(x_174);
x_175 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_175, 0, x_174);
x_14 = x_175;
x_15 = x_174;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
uint8_t x_176; 
lean_dec(x_161);
lean_free_object(x_124);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_176 = !lean_is_exclusive(x_162);
if (x_176 == 0)
{
lean_object* x_177; 
x_177 = lean_ctor_get(x_162, 0);
lean_inc(x_177);
x_14 = x_162;
x_15 = x_177;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_178; lean_object* x_179; 
x_178 = lean_ctor_get(x_162, 0);
lean_inc(x_178);
lean_dec(x_162);
lean_inc(x_178);
x_179 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_179, 0, x_178);
x_14 = x_179;
x_15 = x_178;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
uint8_t x_180; 
lean_free_object(x_124);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_180 = !lean_is_exclusive(x_160);
if (x_180 == 0)
{
lean_object* x_181; 
x_181 = lean_ctor_get(x_160, 0);
lean_inc(x_181);
x_14 = x_160;
x_15 = x_181;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_182; lean_object* x_183; 
x_182 = lean_ctor_get(x_160, 0);
lean_inc(x_182);
lean_dec(x_160);
lean_inc(x_182);
x_183 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_183, 0, x_182);
x_14 = x_183;
x_15 = x_182;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_dec(x_146);
lean_free_object(x_124);
lean_dec(x_126);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
lean_ctor_set(x_144, 0, x_93);
return x_144;
}
}
else
{
lean_object* x_184; 
x_184 = lean_ctor_get(x_144, 0);
lean_inc(x_184);
lean_dec(x_144);
if (lean_obj_tag(x_184) == 1)
{
lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; 
x_185 = lean_ctor_get(x_184, 0);
lean_inc(x_185);
lean_dec_ref(x_184);
x_186 = l_Lean_Meta_coerceMonadLift_x3f___closed__12;
x_187 = l_Lean_mkConst(x_186, x_107);
x_188 = l_Lean_Meta_coerceMonadLift_x3f___closed__13;
x_189 = lean_array_push(x_188, x_45);
x_190 = lean_array_push(x_189, x_37);
x_191 = lean_array_push(x_190, x_46);
x_192 = lean_array_push(x_191, x_38);
x_193 = lean_array_push(x_192, x_97);
x_194 = lean_array_push(x_193, x_185);
x_195 = lean_array_push(x_194, x_126);
x_196 = lean_array_push(x_195, x_1);
x_197 = l_Lean_mkAppN(x_187, x_196);
lean_dec_ref(x_196);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_198 = l_Lean_Meta_expandCoe(x_197, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_198) == 0)
{
lean_object* x_199; lean_object* x_200; 
x_199 = lean_ctor_get(x_198, 0);
lean_inc(x_199);
lean_dec_ref(x_198);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_199);
x_200 = lean_infer_type(x_199, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_200) == 0)
{
lean_object* x_201; lean_object* x_202; 
x_201 = lean_ctor_get(x_200, 0);
lean_inc(x_201);
lean_dec_ref(x_200);
x_202 = l_Lean_Meta_isExprDefEq(x_25, x_201, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_202) == 0)
{
lean_object* x_203; lean_object* x_204; uint8_t x_205; 
x_203 = lean_ctor_get(x_202, 0);
lean_inc(x_203);
if (lean_is_exclusive(x_202)) {
 lean_ctor_release(x_202, 0);
 x_204 = x_202;
} else {
 lean_dec_ref(x_202);
 x_204 = lean_box(0);
}
x_205 = lean_unbox(x_203);
lean_dec(x_203);
if (x_205 == 0)
{
lean_object* x_206; 
lean_dec(x_199);
lean_free_object(x_124);
if (lean_is_scalar(x_204)) {
 x_206 = lean_alloc_ctor(0, 1, 0);
} else {
 x_206 = x_204;
}
lean_ctor_set(x_206, 0, x_93);
return x_206;
}
else
{
lean_object* x_207; 
lean_ctor_set(x_124, 0, x_199);
if (lean_is_scalar(x_204)) {
 x_207 = lean_alloc_ctor(0, 1, 0);
} else {
 x_207 = x_204;
}
lean_ctor_set(x_207, 0, x_124);
return x_207;
}
}
else
{
lean_object* x_208; lean_object* x_209; lean_object* x_210; 
lean_dec(x_199);
lean_free_object(x_124);
x_208 = lean_ctor_get(x_202, 0);
lean_inc(x_208);
if (lean_is_exclusive(x_202)) {
 lean_ctor_release(x_202, 0);
 x_209 = x_202;
} else {
 lean_dec_ref(x_202);
 x_209 = lean_box(0);
}
lean_inc(x_208);
if (lean_is_scalar(x_209)) {
 x_210 = lean_alloc_ctor(1, 1, 0);
} else {
 x_210 = x_209;
}
lean_ctor_set(x_210, 0, x_208);
x_14 = x_210;
x_15 = x_208;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_211; lean_object* x_212; lean_object* x_213; 
lean_dec(x_199);
lean_free_object(x_124);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_211 = lean_ctor_get(x_200, 0);
lean_inc(x_211);
if (lean_is_exclusive(x_200)) {
 lean_ctor_release(x_200, 0);
 x_212 = x_200;
} else {
 lean_dec_ref(x_200);
 x_212 = lean_box(0);
}
lean_inc(x_211);
if (lean_is_scalar(x_212)) {
 x_213 = lean_alloc_ctor(1, 1, 0);
} else {
 x_213 = x_212;
}
lean_ctor_set(x_213, 0, x_211);
x_14 = x_213;
x_15 = x_211;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_214; lean_object* x_215; lean_object* x_216; 
lean_free_object(x_124);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_214 = lean_ctor_get(x_198, 0);
lean_inc(x_214);
if (lean_is_exclusive(x_198)) {
 lean_ctor_release(x_198, 0);
 x_215 = x_198;
} else {
 lean_dec_ref(x_198);
 x_215 = lean_box(0);
}
lean_inc(x_214);
if (lean_is_scalar(x_215)) {
 x_216 = lean_alloc_ctor(1, 1, 0);
} else {
 x_216 = x_215;
}
lean_ctor_set(x_216, 0, x_214);
x_14 = x_216;
x_15 = x_214;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_217; 
lean_dec(x_184);
lean_free_object(x_124);
lean_dec(x_126);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_217 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_217, 0, x_93);
return x_217;
}
}
}
else
{
uint8_t x_218; 
lean_free_object(x_124);
lean_dec(x_126);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_218 = !lean_is_exclusive(x_144);
if (x_218 == 0)
{
lean_object* x_219; 
x_219 = lean_ctor_get(x_144, 0);
lean_inc(x_219);
x_14 = x_144;
x_15 = x_219;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_220; lean_object* x_221; 
x_220 = lean_ctor_get(x_144, 0);
lean_inc(x_220);
lean_dec(x_144);
lean_inc(x_220);
x_221 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_221, 0, x_220);
x_14 = x_221;
x_15 = x_220;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
uint8_t x_222; 
lean_dec(x_128);
lean_free_object(x_124);
lean_dec(x_126);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_222 = !lean_is_exclusive(x_129);
if (x_222 == 0)
{
lean_object* x_223; 
x_223 = lean_ctor_get(x_129, 0);
lean_inc(x_223);
x_14 = x_129;
x_15 = x_223;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_224; lean_object* x_225; 
x_224 = lean_ctor_get(x_129, 0);
lean_inc(x_224);
lean_dec(x_129);
lean_inc(x_224);
x_225 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_225, 0, x_224);
x_14 = x_225;
x_15 = x_224;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
uint8_t x_226; 
lean_free_object(x_124);
lean_dec(x_126);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_226 = !lean_is_exclusive(x_127);
if (x_226 == 0)
{
lean_object* x_227; 
x_227 = lean_ctor_get(x_127, 0);
lean_inc(x_227);
x_14 = x_127;
x_15 = x_227;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_228; lean_object* x_229; 
x_228 = lean_ctor_get(x_127, 0);
lean_inc(x_228);
lean_dec(x_127);
lean_inc(x_228);
x_229 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_229, 0, x_228);
x_14 = x_229;
x_15 = x_228;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_object* x_230; lean_object* x_231; 
x_230 = lean_ctor_get(x_124, 0);
lean_inc(x_230);
lean_dec(x_124);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_46);
x_231 = l_Lean_Meta_getLevel(x_46, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_231) == 0)
{
lean_object* x_232; lean_object* x_233; 
x_232 = lean_ctor_get(x_231, 0);
lean_inc(x_232);
lean_dec_ref(x_231);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_38);
x_233 = l_Lean_Meta_getLevel(x_38, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_233) == 0)
{
lean_object* x_234; lean_object* x_235; uint8_t x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; 
x_234 = lean_ctor_get(x_233, 0);
lean_inc(x_234);
lean_dec_ref(x_233);
x_235 = l_Lean_Meta_coerceMonadLift_x3f___closed__8;
x_236 = 0;
x_237 = l_Lean_Meta_coerceSimple_x3f___closed__1;
x_238 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_238, 0, x_234);
lean_ctor_set(x_238, 1, x_86);
x_239 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_239, 0, x_232);
lean_ctor_set(x_239, 1, x_238);
x_240 = l_Lean_mkConst(x_237, x_239);
x_241 = l_Lean_Meta_coerceMonadLift_x3f___closed__9;
x_242 = l_Lean_Meta_coerceSimple_x3f___closed__2;
lean_inc(x_46);
x_243 = lean_array_push(x_242, x_46);
x_244 = lean_array_push(x_243, x_241);
lean_inc(x_38);
x_245 = lean_array_push(x_244, x_38);
x_246 = l_Lean_mkAppN(x_240, x_245);
lean_dec_ref(x_245);
lean_inc(x_46);
x_247 = l_Lean_mkForall(x_235, x_236, x_46, x_246);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_248 = l_Lean_Meta_trySynthInstance(x_247, x_93, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_248) == 0)
{
lean_object* x_249; lean_object* x_250; 
x_249 = lean_ctor_get(x_248, 0);
lean_inc(x_249);
if (lean_is_exclusive(x_248)) {
 lean_ctor_release(x_248, 0);
 x_250 = x_248;
} else {
 lean_dec_ref(x_248);
 x_250 = lean_box(0);
}
if (lean_obj_tag(x_249) == 1)
{
lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; 
lean_dec(x_250);
x_251 = lean_ctor_get(x_249, 0);
lean_inc(x_251);
lean_dec_ref(x_249);
x_252 = l_Lean_Meta_coerceMonadLift_x3f___closed__12;
x_253 = l_Lean_mkConst(x_252, x_107);
x_254 = l_Lean_Meta_coerceMonadLift_x3f___closed__13;
x_255 = lean_array_push(x_254, x_45);
x_256 = lean_array_push(x_255, x_37);
x_257 = lean_array_push(x_256, x_46);
x_258 = lean_array_push(x_257, x_38);
x_259 = lean_array_push(x_258, x_97);
x_260 = lean_array_push(x_259, x_251);
x_261 = lean_array_push(x_260, x_230);
x_262 = lean_array_push(x_261, x_1);
x_263 = l_Lean_mkAppN(x_253, x_262);
lean_dec_ref(x_262);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_264 = l_Lean_Meta_expandCoe(x_263, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_264) == 0)
{
lean_object* x_265; lean_object* x_266; 
x_265 = lean_ctor_get(x_264, 0);
lean_inc(x_265);
lean_dec_ref(x_264);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_265);
x_266 = lean_infer_type(x_265, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_266) == 0)
{
lean_object* x_267; lean_object* x_268; 
x_267 = lean_ctor_get(x_266, 0);
lean_inc(x_267);
lean_dec_ref(x_266);
x_268 = l_Lean_Meta_isExprDefEq(x_25, x_267, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_268) == 0)
{
lean_object* x_269; lean_object* x_270; uint8_t x_271; 
x_269 = lean_ctor_get(x_268, 0);
lean_inc(x_269);
if (lean_is_exclusive(x_268)) {
 lean_ctor_release(x_268, 0);
 x_270 = x_268;
} else {
 lean_dec_ref(x_268);
 x_270 = lean_box(0);
}
x_271 = lean_unbox(x_269);
lean_dec(x_269);
if (x_271 == 0)
{
lean_object* x_272; 
lean_dec(x_265);
if (lean_is_scalar(x_270)) {
 x_272 = lean_alloc_ctor(0, 1, 0);
} else {
 x_272 = x_270;
}
lean_ctor_set(x_272, 0, x_93);
return x_272;
}
else
{
lean_object* x_273; lean_object* x_274; 
x_273 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_273, 0, x_265);
if (lean_is_scalar(x_270)) {
 x_274 = lean_alloc_ctor(0, 1, 0);
} else {
 x_274 = x_270;
}
lean_ctor_set(x_274, 0, x_273);
return x_274;
}
}
else
{
lean_object* x_275; lean_object* x_276; lean_object* x_277; 
lean_dec(x_265);
x_275 = lean_ctor_get(x_268, 0);
lean_inc(x_275);
if (lean_is_exclusive(x_268)) {
 lean_ctor_release(x_268, 0);
 x_276 = x_268;
} else {
 lean_dec_ref(x_268);
 x_276 = lean_box(0);
}
lean_inc(x_275);
if (lean_is_scalar(x_276)) {
 x_277 = lean_alloc_ctor(1, 1, 0);
} else {
 x_277 = x_276;
}
lean_ctor_set(x_277, 0, x_275);
x_14 = x_277;
x_15 = x_275;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_278; lean_object* x_279; lean_object* x_280; 
lean_dec(x_265);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_278 = lean_ctor_get(x_266, 0);
lean_inc(x_278);
if (lean_is_exclusive(x_266)) {
 lean_ctor_release(x_266, 0);
 x_279 = x_266;
} else {
 lean_dec_ref(x_266);
 x_279 = lean_box(0);
}
lean_inc(x_278);
if (lean_is_scalar(x_279)) {
 x_280 = lean_alloc_ctor(1, 1, 0);
} else {
 x_280 = x_279;
}
lean_ctor_set(x_280, 0, x_278);
x_14 = x_280;
x_15 = x_278;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_281; lean_object* x_282; lean_object* x_283; 
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_281 = lean_ctor_get(x_264, 0);
lean_inc(x_281);
if (lean_is_exclusive(x_264)) {
 lean_ctor_release(x_264, 0);
 x_282 = x_264;
} else {
 lean_dec_ref(x_264);
 x_282 = lean_box(0);
}
lean_inc(x_281);
if (lean_is_scalar(x_282)) {
 x_283 = lean_alloc_ctor(1, 1, 0);
} else {
 x_283 = x_282;
}
lean_ctor_set(x_283, 0, x_281);
x_14 = x_283;
x_15 = x_281;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_284; 
lean_dec(x_249);
lean_dec(x_230);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_250)) {
 x_284 = lean_alloc_ctor(0, 1, 0);
} else {
 x_284 = x_250;
}
lean_ctor_set(x_284, 0, x_93);
return x_284;
}
}
else
{
lean_object* x_285; lean_object* x_286; lean_object* x_287; 
lean_dec(x_230);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_285 = lean_ctor_get(x_248, 0);
lean_inc(x_285);
if (lean_is_exclusive(x_248)) {
 lean_ctor_release(x_248, 0);
 x_286 = x_248;
} else {
 lean_dec_ref(x_248);
 x_286 = lean_box(0);
}
lean_inc(x_285);
if (lean_is_scalar(x_286)) {
 x_287 = lean_alloc_ctor(1, 1, 0);
} else {
 x_287 = x_286;
}
lean_ctor_set(x_287, 0, x_285);
x_14 = x_287;
x_15 = x_285;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_288; lean_object* x_289; lean_object* x_290; 
lean_dec(x_232);
lean_dec(x_230);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_288 = lean_ctor_get(x_233, 0);
lean_inc(x_288);
if (lean_is_exclusive(x_233)) {
 lean_ctor_release(x_233, 0);
 x_289 = x_233;
} else {
 lean_dec_ref(x_233);
 x_289 = lean_box(0);
}
lean_inc(x_288);
if (lean_is_scalar(x_289)) {
 x_290 = lean_alloc_ctor(1, 1, 0);
} else {
 x_290 = x_289;
}
lean_ctor_set(x_290, 0, x_288);
x_14 = x_290;
x_15 = x_288;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_291; lean_object* x_292; lean_object* x_293; 
lean_dec(x_230);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_291 = lean_ctor_get(x_231, 0);
lean_inc(x_291);
if (lean_is_exclusive(x_231)) {
 lean_ctor_release(x_231, 0);
 x_292 = x_231;
} else {
 lean_dec_ref(x_231);
 x_292 = lean_box(0);
}
lean_inc(x_291);
if (lean_is_scalar(x_292)) {
 x_293 = lean_alloc_ctor(1, 1, 0);
} else {
 x_293 = x_292;
}
lean_ctor_set(x_293, 0, x_291);
x_14 = x_293;
x_15 = x_291;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_dec(x_124);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
lean_ctor_set(x_122, 0, x_93);
return x_122;
}
}
else
{
lean_object* x_294; 
x_294 = lean_ctor_get(x_122, 0);
lean_inc(x_294);
lean_dec(x_122);
if (lean_obj_tag(x_294) == 1)
{
lean_object* x_295; lean_object* x_296; lean_object* x_297; 
x_295 = lean_ctor_get(x_294, 0);
lean_inc(x_295);
if (lean_is_exclusive(x_294)) {
 lean_ctor_release(x_294, 0);
 x_296 = x_294;
} else {
 lean_dec_ref(x_294);
 x_296 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_46);
x_297 = l_Lean_Meta_getLevel(x_46, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_297) == 0)
{
lean_object* x_298; lean_object* x_299; 
x_298 = lean_ctor_get(x_297, 0);
lean_inc(x_298);
lean_dec_ref(x_297);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_38);
x_299 = l_Lean_Meta_getLevel(x_38, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_299) == 0)
{
lean_object* x_300; lean_object* x_301; uint8_t x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; 
x_300 = lean_ctor_get(x_299, 0);
lean_inc(x_300);
lean_dec_ref(x_299);
x_301 = l_Lean_Meta_coerceMonadLift_x3f___closed__8;
x_302 = 0;
x_303 = l_Lean_Meta_coerceSimple_x3f___closed__1;
x_304 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_304, 0, x_300);
lean_ctor_set(x_304, 1, x_86);
x_305 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_305, 0, x_298);
lean_ctor_set(x_305, 1, x_304);
x_306 = l_Lean_mkConst(x_303, x_305);
x_307 = l_Lean_Meta_coerceMonadLift_x3f___closed__9;
x_308 = l_Lean_Meta_coerceSimple_x3f___closed__2;
lean_inc(x_46);
x_309 = lean_array_push(x_308, x_46);
x_310 = lean_array_push(x_309, x_307);
lean_inc(x_38);
x_311 = lean_array_push(x_310, x_38);
x_312 = l_Lean_mkAppN(x_306, x_311);
lean_dec_ref(x_311);
lean_inc(x_46);
x_313 = l_Lean_mkForall(x_301, x_302, x_46, x_312);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_314 = l_Lean_Meta_trySynthInstance(x_313, x_93, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_314) == 0)
{
lean_object* x_315; lean_object* x_316; 
x_315 = lean_ctor_get(x_314, 0);
lean_inc(x_315);
if (lean_is_exclusive(x_314)) {
 lean_ctor_release(x_314, 0);
 x_316 = x_314;
} else {
 lean_dec_ref(x_314);
 x_316 = lean_box(0);
}
if (lean_obj_tag(x_315) == 1)
{
lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; 
lean_dec(x_316);
x_317 = lean_ctor_get(x_315, 0);
lean_inc(x_317);
lean_dec_ref(x_315);
x_318 = l_Lean_Meta_coerceMonadLift_x3f___closed__12;
x_319 = l_Lean_mkConst(x_318, x_107);
x_320 = l_Lean_Meta_coerceMonadLift_x3f___closed__13;
x_321 = lean_array_push(x_320, x_45);
x_322 = lean_array_push(x_321, x_37);
x_323 = lean_array_push(x_322, x_46);
x_324 = lean_array_push(x_323, x_38);
x_325 = lean_array_push(x_324, x_97);
x_326 = lean_array_push(x_325, x_317);
x_327 = lean_array_push(x_326, x_295);
x_328 = lean_array_push(x_327, x_1);
x_329 = l_Lean_mkAppN(x_319, x_328);
lean_dec_ref(x_328);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_330 = l_Lean_Meta_expandCoe(x_329, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_330) == 0)
{
lean_object* x_331; lean_object* x_332; 
x_331 = lean_ctor_get(x_330, 0);
lean_inc(x_331);
lean_dec_ref(x_330);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_331);
x_332 = lean_infer_type(x_331, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_332) == 0)
{
lean_object* x_333; lean_object* x_334; 
x_333 = lean_ctor_get(x_332, 0);
lean_inc(x_333);
lean_dec_ref(x_332);
x_334 = l_Lean_Meta_isExprDefEq(x_25, x_333, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_334) == 0)
{
lean_object* x_335; lean_object* x_336; uint8_t x_337; 
x_335 = lean_ctor_get(x_334, 0);
lean_inc(x_335);
if (lean_is_exclusive(x_334)) {
 lean_ctor_release(x_334, 0);
 x_336 = x_334;
} else {
 lean_dec_ref(x_334);
 x_336 = lean_box(0);
}
x_337 = lean_unbox(x_335);
lean_dec(x_335);
if (x_337 == 0)
{
lean_object* x_338; 
lean_dec(x_331);
lean_dec(x_296);
if (lean_is_scalar(x_336)) {
 x_338 = lean_alloc_ctor(0, 1, 0);
} else {
 x_338 = x_336;
}
lean_ctor_set(x_338, 0, x_93);
return x_338;
}
else
{
lean_object* x_339; lean_object* x_340; 
if (lean_is_scalar(x_296)) {
 x_339 = lean_alloc_ctor(1, 1, 0);
} else {
 x_339 = x_296;
}
lean_ctor_set(x_339, 0, x_331);
if (lean_is_scalar(x_336)) {
 x_340 = lean_alloc_ctor(0, 1, 0);
} else {
 x_340 = x_336;
}
lean_ctor_set(x_340, 0, x_339);
return x_340;
}
}
else
{
lean_object* x_341; lean_object* x_342; lean_object* x_343; 
lean_dec(x_331);
lean_dec(x_296);
x_341 = lean_ctor_get(x_334, 0);
lean_inc(x_341);
if (lean_is_exclusive(x_334)) {
 lean_ctor_release(x_334, 0);
 x_342 = x_334;
} else {
 lean_dec_ref(x_334);
 x_342 = lean_box(0);
}
lean_inc(x_341);
if (lean_is_scalar(x_342)) {
 x_343 = lean_alloc_ctor(1, 1, 0);
} else {
 x_343 = x_342;
}
lean_ctor_set(x_343, 0, x_341);
x_14 = x_343;
x_15 = x_341;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_344; lean_object* x_345; lean_object* x_346; 
lean_dec(x_331);
lean_dec(x_296);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_344 = lean_ctor_get(x_332, 0);
lean_inc(x_344);
if (lean_is_exclusive(x_332)) {
 lean_ctor_release(x_332, 0);
 x_345 = x_332;
} else {
 lean_dec_ref(x_332);
 x_345 = lean_box(0);
}
lean_inc(x_344);
if (lean_is_scalar(x_345)) {
 x_346 = lean_alloc_ctor(1, 1, 0);
} else {
 x_346 = x_345;
}
lean_ctor_set(x_346, 0, x_344);
x_14 = x_346;
x_15 = x_344;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_347; lean_object* x_348; lean_object* x_349; 
lean_dec(x_296);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_347 = lean_ctor_get(x_330, 0);
lean_inc(x_347);
if (lean_is_exclusive(x_330)) {
 lean_ctor_release(x_330, 0);
 x_348 = x_330;
} else {
 lean_dec_ref(x_330);
 x_348 = lean_box(0);
}
lean_inc(x_347);
if (lean_is_scalar(x_348)) {
 x_349 = lean_alloc_ctor(1, 1, 0);
} else {
 x_349 = x_348;
}
lean_ctor_set(x_349, 0, x_347);
x_14 = x_349;
x_15 = x_347;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_350; 
lean_dec(x_315);
lean_dec(x_296);
lean_dec(x_295);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_316)) {
 x_350 = lean_alloc_ctor(0, 1, 0);
} else {
 x_350 = x_316;
}
lean_ctor_set(x_350, 0, x_93);
return x_350;
}
}
else
{
lean_object* x_351; lean_object* x_352; lean_object* x_353; 
lean_dec(x_296);
lean_dec(x_295);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_351 = lean_ctor_get(x_314, 0);
lean_inc(x_351);
if (lean_is_exclusive(x_314)) {
 lean_ctor_release(x_314, 0);
 x_352 = x_314;
} else {
 lean_dec_ref(x_314);
 x_352 = lean_box(0);
}
lean_inc(x_351);
if (lean_is_scalar(x_352)) {
 x_353 = lean_alloc_ctor(1, 1, 0);
} else {
 x_353 = x_352;
}
lean_ctor_set(x_353, 0, x_351);
x_14 = x_353;
x_15 = x_351;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_354; lean_object* x_355; lean_object* x_356; 
lean_dec(x_298);
lean_dec(x_296);
lean_dec(x_295);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_354 = lean_ctor_get(x_299, 0);
lean_inc(x_354);
if (lean_is_exclusive(x_299)) {
 lean_ctor_release(x_299, 0);
 x_355 = x_299;
} else {
 lean_dec_ref(x_299);
 x_355 = lean_box(0);
}
lean_inc(x_354);
if (lean_is_scalar(x_355)) {
 x_356 = lean_alloc_ctor(1, 1, 0);
} else {
 x_356 = x_355;
}
lean_ctor_set(x_356, 0, x_354);
x_14 = x_356;
x_15 = x_354;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_357; lean_object* x_358; lean_object* x_359; 
lean_dec(x_296);
lean_dec(x_295);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_357 = lean_ctor_get(x_297, 0);
lean_inc(x_357);
if (lean_is_exclusive(x_297)) {
 lean_ctor_release(x_297, 0);
 x_358 = x_297;
} else {
 lean_dec_ref(x_297);
 x_358 = lean_box(0);
}
lean_inc(x_357);
if (lean_is_scalar(x_358)) {
 x_359 = lean_alloc_ctor(1, 1, 0);
} else {
 x_359 = x_358;
}
lean_ctor_set(x_359, 0, x_357);
x_14 = x_359;
x_15 = x_357;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_360; 
lean_dec(x_294);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_360 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_360, 0, x_93);
return x_360;
}
}
}
else
{
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_20 = x_122;
goto block_22;
}
}
else
{
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
lean_ctor_set(x_41, 0, x_115);
lean_ctor_set(x_118, 0, x_41);
return x_118;
}
}
else
{
lean_object* x_361; uint8_t x_362; 
x_361 = lean_ctor_get(x_118, 0);
lean_inc(x_361);
lean_dec(x_118);
x_362 = lean_unbox(x_361);
lean_dec(x_361);
if (x_362 == 0)
{
lean_object* x_363; 
lean_dec_ref(x_115);
lean_free_object(x_41);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
x_363 = l_Lean_Meta_isMonad_x3f(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_363) == 0)
{
lean_object* x_364; lean_object* x_365; 
x_364 = lean_ctor_get(x_363, 0);
lean_inc(x_364);
if (lean_is_exclusive(x_363)) {
 lean_ctor_release(x_363, 0);
 x_365 = x_363;
} else {
 lean_dec_ref(x_363);
 x_365 = lean_box(0);
}
if (lean_obj_tag(x_364) == 1)
{
lean_object* x_366; lean_object* x_367; lean_object* x_368; 
lean_dec(x_365);
x_366 = lean_ctor_get(x_364, 0);
lean_inc(x_366);
if (lean_is_exclusive(x_364)) {
 lean_ctor_release(x_364, 0);
 x_367 = x_364;
} else {
 lean_dec_ref(x_364);
 x_367 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_46);
x_368 = l_Lean_Meta_getLevel(x_46, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_368) == 0)
{
lean_object* x_369; lean_object* x_370; 
x_369 = lean_ctor_get(x_368, 0);
lean_inc(x_369);
lean_dec_ref(x_368);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_38);
x_370 = l_Lean_Meta_getLevel(x_38, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_370) == 0)
{
lean_object* x_371; lean_object* x_372; uint8_t x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; 
x_371 = lean_ctor_get(x_370, 0);
lean_inc(x_371);
lean_dec_ref(x_370);
x_372 = l_Lean_Meta_coerceMonadLift_x3f___closed__8;
x_373 = 0;
x_374 = l_Lean_Meta_coerceSimple_x3f___closed__1;
x_375 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_375, 0, x_371);
lean_ctor_set(x_375, 1, x_86);
x_376 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_376, 0, x_369);
lean_ctor_set(x_376, 1, x_375);
x_377 = l_Lean_mkConst(x_374, x_376);
x_378 = l_Lean_Meta_coerceMonadLift_x3f___closed__9;
x_379 = l_Lean_Meta_coerceSimple_x3f___closed__2;
lean_inc(x_46);
x_380 = lean_array_push(x_379, x_46);
x_381 = lean_array_push(x_380, x_378);
lean_inc(x_38);
x_382 = lean_array_push(x_381, x_38);
x_383 = l_Lean_mkAppN(x_377, x_382);
lean_dec_ref(x_382);
lean_inc(x_46);
x_384 = l_Lean_mkForall(x_372, x_373, x_46, x_383);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_385 = l_Lean_Meta_trySynthInstance(x_384, x_93, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_385) == 0)
{
lean_object* x_386; lean_object* x_387; 
x_386 = lean_ctor_get(x_385, 0);
lean_inc(x_386);
if (lean_is_exclusive(x_385)) {
 lean_ctor_release(x_385, 0);
 x_387 = x_385;
} else {
 lean_dec_ref(x_385);
 x_387 = lean_box(0);
}
if (lean_obj_tag(x_386) == 1)
{
lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; 
lean_dec(x_387);
x_388 = lean_ctor_get(x_386, 0);
lean_inc(x_388);
lean_dec_ref(x_386);
x_389 = l_Lean_Meta_coerceMonadLift_x3f___closed__12;
x_390 = l_Lean_mkConst(x_389, x_107);
x_391 = l_Lean_Meta_coerceMonadLift_x3f___closed__13;
x_392 = lean_array_push(x_391, x_45);
x_393 = lean_array_push(x_392, x_37);
x_394 = lean_array_push(x_393, x_46);
x_395 = lean_array_push(x_394, x_38);
x_396 = lean_array_push(x_395, x_97);
x_397 = lean_array_push(x_396, x_388);
x_398 = lean_array_push(x_397, x_366);
x_399 = lean_array_push(x_398, x_1);
x_400 = l_Lean_mkAppN(x_390, x_399);
lean_dec_ref(x_399);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_401 = l_Lean_Meta_expandCoe(x_400, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_401) == 0)
{
lean_object* x_402; lean_object* x_403; 
x_402 = lean_ctor_get(x_401, 0);
lean_inc(x_402);
lean_dec_ref(x_401);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_402);
x_403 = lean_infer_type(x_402, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_403) == 0)
{
lean_object* x_404; lean_object* x_405; 
x_404 = lean_ctor_get(x_403, 0);
lean_inc(x_404);
lean_dec_ref(x_403);
x_405 = l_Lean_Meta_isExprDefEq(x_25, x_404, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_405) == 0)
{
lean_object* x_406; lean_object* x_407; uint8_t x_408; 
x_406 = lean_ctor_get(x_405, 0);
lean_inc(x_406);
if (lean_is_exclusive(x_405)) {
 lean_ctor_release(x_405, 0);
 x_407 = x_405;
} else {
 lean_dec_ref(x_405);
 x_407 = lean_box(0);
}
x_408 = lean_unbox(x_406);
lean_dec(x_406);
if (x_408 == 0)
{
lean_object* x_409; 
lean_dec(x_402);
lean_dec(x_367);
if (lean_is_scalar(x_407)) {
 x_409 = lean_alloc_ctor(0, 1, 0);
} else {
 x_409 = x_407;
}
lean_ctor_set(x_409, 0, x_93);
return x_409;
}
else
{
lean_object* x_410; lean_object* x_411; 
if (lean_is_scalar(x_367)) {
 x_410 = lean_alloc_ctor(1, 1, 0);
} else {
 x_410 = x_367;
}
lean_ctor_set(x_410, 0, x_402);
if (lean_is_scalar(x_407)) {
 x_411 = lean_alloc_ctor(0, 1, 0);
} else {
 x_411 = x_407;
}
lean_ctor_set(x_411, 0, x_410);
return x_411;
}
}
else
{
lean_object* x_412; lean_object* x_413; lean_object* x_414; 
lean_dec(x_402);
lean_dec(x_367);
x_412 = lean_ctor_get(x_405, 0);
lean_inc(x_412);
if (lean_is_exclusive(x_405)) {
 lean_ctor_release(x_405, 0);
 x_413 = x_405;
} else {
 lean_dec_ref(x_405);
 x_413 = lean_box(0);
}
lean_inc(x_412);
if (lean_is_scalar(x_413)) {
 x_414 = lean_alloc_ctor(1, 1, 0);
} else {
 x_414 = x_413;
}
lean_ctor_set(x_414, 0, x_412);
x_14 = x_414;
x_15 = x_412;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_415; lean_object* x_416; lean_object* x_417; 
lean_dec(x_402);
lean_dec(x_367);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_415 = lean_ctor_get(x_403, 0);
lean_inc(x_415);
if (lean_is_exclusive(x_403)) {
 lean_ctor_release(x_403, 0);
 x_416 = x_403;
} else {
 lean_dec_ref(x_403);
 x_416 = lean_box(0);
}
lean_inc(x_415);
if (lean_is_scalar(x_416)) {
 x_417 = lean_alloc_ctor(1, 1, 0);
} else {
 x_417 = x_416;
}
lean_ctor_set(x_417, 0, x_415);
x_14 = x_417;
x_15 = x_415;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_418; lean_object* x_419; lean_object* x_420; 
lean_dec(x_367);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_418 = lean_ctor_get(x_401, 0);
lean_inc(x_418);
if (lean_is_exclusive(x_401)) {
 lean_ctor_release(x_401, 0);
 x_419 = x_401;
} else {
 lean_dec_ref(x_401);
 x_419 = lean_box(0);
}
lean_inc(x_418);
if (lean_is_scalar(x_419)) {
 x_420 = lean_alloc_ctor(1, 1, 0);
} else {
 x_420 = x_419;
}
lean_ctor_set(x_420, 0, x_418);
x_14 = x_420;
x_15 = x_418;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_421; 
lean_dec(x_386);
lean_dec(x_367);
lean_dec(x_366);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_387)) {
 x_421 = lean_alloc_ctor(0, 1, 0);
} else {
 x_421 = x_387;
}
lean_ctor_set(x_421, 0, x_93);
return x_421;
}
}
else
{
lean_object* x_422; lean_object* x_423; lean_object* x_424; 
lean_dec(x_367);
lean_dec(x_366);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_422 = lean_ctor_get(x_385, 0);
lean_inc(x_422);
if (lean_is_exclusive(x_385)) {
 lean_ctor_release(x_385, 0);
 x_423 = x_385;
} else {
 lean_dec_ref(x_385);
 x_423 = lean_box(0);
}
lean_inc(x_422);
if (lean_is_scalar(x_423)) {
 x_424 = lean_alloc_ctor(1, 1, 0);
} else {
 x_424 = x_423;
}
lean_ctor_set(x_424, 0, x_422);
x_14 = x_424;
x_15 = x_422;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_425; lean_object* x_426; lean_object* x_427; 
lean_dec(x_369);
lean_dec(x_367);
lean_dec(x_366);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_425 = lean_ctor_get(x_370, 0);
lean_inc(x_425);
if (lean_is_exclusive(x_370)) {
 lean_ctor_release(x_370, 0);
 x_426 = x_370;
} else {
 lean_dec_ref(x_370);
 x_426 = lean_box(0);
}
lean_inc(x_425);
if (lean_is_scalar(x_426)) {
 x_427 = lean_alloc_ctor(1, 1, 0);
} else {
 x_427 = x_426;
}
lean_ctor_set(x_427, 0, x_425);
x_14 = x_427;
x_15 = x_425;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_428; lean_object* x_429; lean_object* x_430; 
lean_dec(x_367);
lean_dec(x_366);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_428 = lean_ctor_get(x_368, 0);
lean_inc(x_428);
if (lean_is_exclusive(x_368)) {
 lean_ctor_release(x_368, 0);
 x_429 = x_368;
} else {
 lean_dec_ref(x_368);
 x_429 = lean_box(0);
}
lean_inc(x_428);
if (lean_is_scalar(x_429)) {
 x_430 = lean_alloc_ctor(1, 1, 0);
} else {
 x_430 = x_429;
}
lean_ctor_set(x_430, 0, x_428);
x_14 = x_430;
x_15 = x_428;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_431; 
lean_dec(x_364);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_365)) {
 x_431 = lean_alloc_ctor(0, 1, 0);
} else {
 x_431 = x_365;
}
lean_ctor_set(x_431, 0, x_93);
return x_431;
}
}
else
{
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_20 = x_363;
goto block_22;
}
}
else
{
lean_object* x_432; 
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
lean_ctor_set(x_41, 0, x_115);
x_432 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_432, 0, x_41);
return x_432;
}
}
}
else
{
uint8_t x_433; 
lean_dec_ref(x_115);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_433 = !lean_is_exclusive(x_118);
if (x_433 == 0)
{
lean_object* x_434; 
x_434 = lean_ctor_get(x_118, 0);
lean_inc(x_434);
x_14 = x_118;
x_15 = x_434;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_435; lean_object* x_436; 
x_435 = lean_ctor_get(x_118, 0);
lean_inc(x_435);
lean_dec(x_118);
lean_inc(x_435);
x_436 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_436, 0, x_435);
x_14 = x_436;
x_15 = x_435;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
uint8_t x_437; 
lean_dec_ref(x_115);
lean_dec_ref(x_107);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_437 = !lean_is_exclusive(x_116);
if (x_437 == 0)
{
lean_object* x_438; 
x_438 = lean_ctor_get(x_116, 0);
lean_inc(x_438);
x_14 = x_116;
x_15 = x_438;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_439; lean_object* x_440; 
x_439 = lean_ctor_get(x_116, 0);
lean_inc(x_439);
lean_dec(x_116);
lean_inc(x_439);
x_440 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_440, 0, x_439);
x_14 = x_440;
x_15 = x_439;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
uint8_t x_441; 
lean_dec(x_101);
lean_dec(x_99);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_441 = !lean_is_exclusive(x_102);
if (x_441 == 0)
{
lean_object* x_442; 
x_442 = lean_ctor_get(x_102, 0);
lean_inc(x_442);
x_14 = x_102;
x_15 = x_442;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_443; lean_object* x_444; 
x_443 = lean_ctor_get(x_102, 0);
lean_inc(x_443);
lean_dec(x_102);
lean_inc(x_443);
x_444 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_444, 0, x_443);
x_14 = x_444;
x_15 = x_443;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
uint8_t x_445; 
lean_dec(x_99);
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_445 = !lean_is_exclusive(x_100);
if (x_445 == 0)
{
lean_object* x_446; 
x_446 = lean_ctor_get(x_100, 0);
lean_inc(x_446);
x_14 = x_100;
x_15 = x_446;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_447; lean_object* x_448; 
x_447 = lean_ctor_get(x_100, 0);
lean_inc(x_447);
lean_dec(x_100);
lean_inc(x_447);
x_448 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_448, 0, x_447);
x_14 = x_448;
x_15 = x_447;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
uint8_t x_449; 
lean_dec(x_97);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_449 = !lean_is_exclusive(x_98);
if (x_449 == 0)
{
lean_object* x_450; 
x_450 = lean_ctor_get(x_98, 0);
lean_inc(x_450);
x_14 = x_98;
x_15 = x_450;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_451; lean_object* x_452; 
x_451 = lean_ctor_get(x_98, 0);
lean_inc(x_451);
lean_dec(x_98);
lean_inc(x_451);
x_452 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_452, 0, x_451);
x_14 = x_452;
x_15 = x_451;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_dec(x_96);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
lean_ctor_set(x_94, 0, x_93);
return x_94;
}
}
else
{
lean_object* x_453; 
x_453 = lean_ctor_get(x_94, 0);
lean_inc(x_453);
lean_dec(x_94);
if (lean_obj_tag(x_453) == 1)
{
lean_object* x_454; lean_object* x_455; 
x_454 = lean_ctor_get(x_453, 0);
lean_inc(x_454);
lean_dec_ref(x_453);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_46);
x_455 = l_Lean_Meta_getDecLevel(x_46, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_455) == 0)
{
lean_object* x_456; lean_object* x_457; 
x_456 = lean_ctor_get(x_455, 0);
lean_inc(x_456);
lean_dec_ref(x_455);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_457 = l_Lean_Meta_getDecLevel(x_30, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_457) == 0)
{
lean_object* x_458; lean_object* x_459; 
x_458 = lean_ctor_get(x_457, 0);
lean_inc(x_458);
lean_dec_ref(x_457);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_459 = l_Lean_Meta_getDecLevel(x_25, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_459) == 0)
{
lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; 
x_460 = lean_ctor_get(x_459, 0);
lean_inc(x_460);
lean_dec_ref(x_459);
x_461 = l_Lean_Meta_coerceMonadLift_x3f___closed__5;
x_462 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_462, 0, x_460);
lean_ctor_set(x_462, 1, x_86);
x_463 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_463, 0, x_458);
lean_ctor_set(x_463, 1, x_462);
x_464 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_464, 0, x_456);
lean_ctor_set(x_464, 1, x_463);
lean_inc_ref(x_464);
x_465 = l_Lean_mkConst(x_461, x_464);
x_466 = l_Lean_Meta_coerceMonadLift_x3f___closed__6;
lean_inc(x_45);
x_467 = lean_array_push(x_466, x_45);
lean_inc(x_37);
x_468 = lean_array_push(x_467, x_37);
lean_inc(x_454);
x_469 = lean_array_push(x_468, x_454);
lean_inc(x_46);
x_470 = lean_array_push(x_469, x_46);
lean_inc_ref(x_1);
x_471 = lean_array_push(x_470, x_1);
x_472 = l_Lean_mkAppN(x_465, x_471);
lean_dec_ref(x_471);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_472);
x_473 = lean_infer_type(x_472, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_473) == 0)
{
lean_object* x_474; lean_object* x_475; 
x_474 = lean_ctor_get(x_473, 0);
lean_inc(x_474);
lean_dec_ref(x_473);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_475 = l_Lean_Meta_isExprDefEq(x_25, x_474, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_475) == 0)
{
lean_object* x_476; lean_object* x_477; uint8_t x_478; 
x_476 = lean_ctor_get(x_475, 0);
lean_inc(x_476);
if (lean_is_exclusive(x_475)) {
 lean_ctor_release(x_475, 0);
 x_477 = x_475;
} else {
 lean_dec_ref(x_475);
 x_477 = lean_box(0);
}
x_478 = lean_unbox(x_476);
lean_dec(x_476);
if (x_478 == 0)
{
lean_object* x_479; 
lean_dec(x_477);
lean_dec_ref(x_472);
lean_free_object(x_41);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
x_479 = l_Lean_Meta_isMonad_x3f(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_479) == 0)
{
lean_object* x_480; lean_object* x_481; 
x_480 = lean_ctor_get(x_479, 0);
lean_inc(x_480);
if (lean_is_exclusive(x_479)) {
 lean_ctor_release(x_479, 0);
 x_481 = x_479;
} else {
 lean_dec_ref(x_479);
 x_481 = lean_box(0);
}
if (lean_obj_tag(x_480) == 1)
{
lean_object* x_482; lean_object* x_483; lean_object* x_484; 
lean_dec(x_481);
x_482 = lean_ctor_get(x_480, 0);
lean_inc(x_482);
if (lean_is_exclusive(x_480)) {
 lean_ctor_release(x_480, 0);
 x_483 = x_480;
} else {
 lean_dec_ref(x_480);
 x_483 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_46);
x_484 = l_Lean_Meta_getLevel(x_46, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_484) == 0)
{
lean_object* x_485; lean_object* x_486; 
x_485 = lean_ctor_get(x_484, 0);
lean_inc(x_485);
lean_dec_ref(x_484);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_38);
x_486 = l_Lean_Meta_getLevel(x_38, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_486) == 0)
{
lean_object* x_487; lean_object* x_488; uint8_t x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; 
x_487 = lean_ctor_get(x_486, 0);
lean_inc(x_487);
lean_dec_ref(x_486);
x_488 = l_Lean_Meta_coerceMonadLift_x3f___closed__8;
x_489 = 0;
x_490 = l_Lean_Meta_coerceSimple_x3f___closed__1;
x_491 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_491, 0, x_487);
lean_ctor_set(x_491, 1, x_86);
x_492 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_492, 0, x_485);
lean_ctor_set(x_492, 1, x_491);
x_493 = l_Lean_mkConst(x_490, x_492);
x_494 = l_Lean_Meta_coerceMonadLift_x3f___closed__9;
x_495 = l_Lean_Meta_coerceSimple_x3f___closed__2;
lean_inc(x_46);
x_496 = lean_array_push(x_495, x_46);
x_497 = lean_array_push(x_496, x_494);
lean_inc(x_38);
x_498 = lean_array_push(x_497, x_38);
x_499 = l_Lean_mkAppN(x_493, x_498);
lean_dec_ref(x_498);
lean_inc(x_46);
x_500 = l_Lean_mkForall(x_488, x_489, x_46, x_499);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_501 = l_Lean_Meta_trySynthInstance(x_500, x_93, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_501) == 0)
{
lean_object* x_502; lean_object* x_503; 
x_502 = lean_ctor_get(x_501, 0);
lean_inc(x_502);
if (lean_is_exclusive(x_501)) {
 lean_ctor_release(x_501, 0);
 x_503 = x_501;
} else {
 lean_dec_ref(x_501);
 x_503 = lean_box(0);
}
if (lean_obj_tag(x_502) == 1)
{
lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; 
lean_dec(x_503);
x_504 = lean_ctor_get(x_502, 0);
lean_inc(x_504);
lean_dec_ref(x_502);
x_505 = l_Lean_Meta_coerceMonadLift_x3f___closed__12;
x_506 = l_Lean_mkConst(x_505, x_464);
x_507 = l_Lean_Meta_coerceMonadLift_x3f___closed__13;
x_508 = lean_array_push(x_507, x_45);
x_509 = lean_array_push(x_508, x_37);
x_510 = lean_array_push(x_509, x_46);
x_511 = lean_array_push(x_510, x_38);
x_512 = lean_array_push(x_511, x_454);
x_513 = lean_array_push(x_512, x_504);
x_514 = lean_array_push(x_513, x_482);
x_515 = lean_array_push(x_514, x_1);
x_516 = l_Lean_mkAppN(x_506, x_515);
lean_dec_ref(x_515);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_517 = l_Lean_Meta_expandCoe(x_516, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_517) == 0)
{
lean_object* x_518; lean_object* x_519; 
x_518 = lean_ctor_get(x_517, 0);
lean_inc(x_518);
lean_dec_ref(x_517);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_518);
x_519 = lean_infer_type(x_518, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_519) == 0)
{
lean_object* x_520; lean_object* x_521; 
x_520 = lean_ctor_get(x_519, 0);
lean_inc(x_520);
lean_dec_ref(x_519);
x_521 = l_Lean_Meta_isExprDefEq(x_25, x_520, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_521) == 0)
{
lean_object* x_522; lean_object* x_523; uint8_t x_524; 
x_522 = lean_ctor_get(x_521, 0);
lean_inc(x_522);
if (lean_is_exclusive(x_521)) {
 lean_ctor_release(x_521, 0);
 x_523 = x_521;
} else {
 lean_dec_ref(x_521);
 x_523 = lean_box(0);
}
x_524 = lean_unbox(x_522);
lean_dec(x_522);
if (x_524 == 0)
{
lean_object* x_525; 
lean_dec(x_518);
lean_dec(x_483);
if (lean_is_scalar(x_523)) {
 x_525 = lean_alloc_ctor(0, 1, 0);
} else {
 x_525 = x_523;
}
lean_ctor_set(x_525, 0, x_93);
return x_525;
}
else
{
lean_object* x_526; lean_object* x_527; 
if (lean_is_scalar(x_483)) {
 x_526 = lean_alloc_ctor(1, 1, 0);
} else {
 x_526 = x_483;
}
lean_ctor_set(x_526, 0, x_518);
if (lean_is_scalar(x_523)) {
 x_527 = lean_alloc_ctor(0, 1, 0);
} else {
 x_527 = x_523;
}
lean_ctor_set(x_527, 0, x_526);
return x_527;
}
}
else
{
lean_object* x_528; lean_object* x_529; lean_object* x_530; 
lean_dec(x_518);
lean_dec(x_483);
x_528 = lean_ctor_get(x_521, 0);
lean_inc(x_528);
if (lean_is_exclusive(x_521)) {
 lean_ctor_release(x_521, 0);
 x_529 = x_521;
} else {
 lean_dec_ref(x_521);
 x_529 = lean_box(0);
}
lean_inc(x_528);
if (lean_is_scalar(x_529)) {
 x_530 = lean_alloc_ctor(1, 1, 0);
} else {
 x_530 = x_529;
}
lean_ctor_set(x_530, 0, x_528);
x_14 = x_530;
x_15 = x_528;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_531; lean_object* x_532; lean_object* x_533; 
lean_dec(x_518);
lean_dec(x_483);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_531 = lean_ctor_get(x_519, 0);
lean_inc(x_531);
if (lean_is_exclusive(x_519)) {
 lean_ctor_release(x_519, 0);
 x_532 = x_519;
} else {
 lean_dec_ref(x_519);
 x_532 = lean_box(0);
}
lean_inc(x_531);
if (lean_is_scalar(x_532)) {
 x_533 = lean_alloc_ctor(1, 1, 0);
} else {
 x_533 = x_532;
}
lean_ctor_set(x_533, 0, x_531);
x_14 = x_533;
x_15 = x_531;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_534; lean_object* x_535; lean_object* x_536; 
lean_dec(x_483);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_534 = lean_ctor_get(x_517, 0);
lean_inc(x_534);
if (lean_is_exclusive(x_517)) {
 lean_ctor_release(x_517, 0);
 x_535 = x_517;
} else {
 lean_dec_ref(x_517);
 x_535 = lean_box(0);
}
lean_inc(x_534);
if (lean_is_scalar(x_535)) {
 x_536 = lean_alloc_ctor(1, 1, 0);
} else {
 x_536 = x_535;
}
lean_ctor_set(x_536, 0, x_534);
x_14 = x_536;
x_15 = x_534;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_537; 
lean_dec(x_502);
lean_dec(x_483);
lean_dec(x_482);
lean_dec_ref(x_464);
lean_dec(x_454);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_503)) {
 x_537 = lean_alloc_ctor(0, 1, 0);
} else {
 x_537 = x_503;
}
lean_ctor_set(x_537, 0, x_93);
return x_537;
}
}
else
{
lean_object* x_538; lean_object* x_539; lean_object* x_540; 
lean_dec(x_483);
lean_dec(x_482);
lean_dec_ref(x_464);
lean_dec(x_454);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_538 = lean_ctor_get(x_501, 0);
lean_inc(x_538);
if (lean_is_exclusive(x_501)) {
 lean_ctor_release(x_501, 0);
 x_539 = x_501;
} else {
 lean_dec_ref(x_501);
 x_539 = lean_box(0);
}
lean_inc(x_538);
if (lean_is_scalar(x_539)) {
 x_540 = lean_alloc_ctor(1, 1, 0);
} else {
 x_540 = x_539;
}
lean_ctor_set(x_540, 0, x_538);
x_14 = x_540;
x_15 = x_538;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_541; lean_object* x_542; lean_object* x_543; 
lean_dec(x_485);
lean_dec(x_483);
lean_dec(x_482);
lean_dec_ref(x_464);
lean_dec(x_454);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_541 = lean_ctor_get(x_486, 0);
lean_inc(x_541);
if (lean_is_exclusive(x_486)) {
 lean_ctor_release(x_486, 0);
 x_542 = x_486;
} else {
 lean_dec_ref(x_486);
 x_542 = lean_box(0);
}
lean_inc(x_541);
if (lean_is_scalar(x_542)) {
 x_543 = lean_alloc_ctor(1, 1, 0);
} else {
 x_543 = x_542;
}
lean_ctor_set(x_543, 0, x_541);
x_14 = x_543;
x_15 = x_541;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_544; lean_object* x_545; lean_object* x_546; 
lean_dec(x_483);
lean_dec(x_482);
lean_dec_ref(x_464);
lean_dec(x_454);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_544 = lean_ctor_get(x_484, 0);
lean_inc(x_544);
if (lean_is_exclusive(x_484)) {
 lean_ctor_release(x_484, 0);
 x_545 = x_484;
} else {
 lean_dec_ref(x_484);
 x_545 = lean_box(0);
}
lean_inc(x_544);
if (lean_is_scalar(x_545)) {
 x_546 = lean_alloc_ctor(1, 1, 0);
} else {
 x_546 = x_545;
}
lean_ctor_set(x_546, 0, x_544);
x_14 = x_546;
x_15 = x_544;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_547; 
lean_dec(x_480);
lean_dec_ref(x_464);
lean_dec(x_454);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_481)) {
 x_547 = lean_alloc_ctor(0, 1, 0);
} else {
 x_547 = x_481;
}
lean_ctor_set(x_547, 0, x_93);
return x_547;
}
}
else
{
lean_dec_ref(x_464);
lean_dec(x_454);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_20 = x_479;
goto block_22;
}
}
else
{
lean_object* x_548; 
lean_dec_ref(x_464);
lean_dec(x_454);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
lean_ctor_set(x_41, 0, x_472);
if (lean_is_scalar(x_477)) {
 x_548 = lean_alloc_ctor(0, 1, 0);
} else {
 x_548 = x_477;
}
lean_ctor_set(x_548, 0, x_41);
return x_548;
}
}
else
{
lean_object* x_549; lean_object* x_550; lean_object* x_551; 
lean_dec_ref(x_472);
lean_dec_ref(x_464);
lean_dec(x_454);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_549 = lean_ctor_get(x_475, 0);
lean_inc(x_549);
if (lean_is_exclusive(x_475)) {
 lean_ctor_release(x_475, 0);
 x_550 = x_475;
} else {
 lean_dec_ref(x_475);
 x_550 = lean_box(0);
}
lean_inc(x_549);
if (lean_is_scalar(x_550)) {
 x_551 = lean_alloc_ctor(1, 1, 0);
} else {
 x_551 = x_550;
}
lean_ctor_set(x_551, 0, x_549);
x_14 = x_551;
x_15 = x_549;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_552; lean_object* x_553; lean_object* x_554; 
lean_dec_ref(x_472);
lean_dec_ref(x_464);
lean_dec(x_454);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_552 = lean_ctor_get(x_473, 0);
lean_inc(x_552);
if (lean_is_exclusive(x_473)) {
 lean_ctor_release(x_473, 0);
 x_553 = x_473;
} else {
 lean_dec_ref(x_473);
 x_553 = lean_box(0);
}
lean_inc(x_552);
if (lean_is_scalar(x_553)) {
 x_554 = lean_alloc_ctor(1, 1, 0);
} else {
 x_554 = x_553;
}
lean_ctor_set(x_554, 0, x_552);
x_14 = x_554;
x_15 = x_552;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_555; lean_object* x_556; lean_object* x_557; 
lean_dec(x_458);
lean_dec(x_456);
lean_dec(x_454);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_555 = lean_ctor_get(x_459, 0);
lean_inc(x_555);
if (lean_is_exclusive(x_459)) {
 lean_ctor_release(x_459, 0);
 x_556 = x_459;
} else {
 lean_dec_ref(x_459);
 x_556 = lean_box(0);
}
lean_inc(x_555);
if (lean_is_scalar(x_556)) {
 x_557 = lean_alloc_ctor(1, 1, 0);
} else {
 x_557 = x_556;
}
lean_ctor_set(x_557, 0, x_555);
x_14 = x_557;
x_15 = x_555;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_558; lean_object* x_559; lean_object* x_560; 
lean_dec(x_456);
lean_dec(x_454);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_558 = lean_ctor_get(x_457, 0);
lean_inc(x_558);
if (lean_is_exclusive(x_457)) {
 lean_ctor_release(x_457, 0);
 x_559 = x_457;
} else {
 lean_dec_ref(x_457);
 x_559 = lean_box(0);
}
lean_inc(x_558);
if (lean_is_scalar(x_559)) {
 x_560 = lean_alloc_ctor(1, 1, 0);
} else {
 x_560 = x_559;
}
lean_ctor_set(x_560, 0, x_558);
x_14 = x_560;
x_15 = x_558;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_561; lean_object* x_562; lean_object* x_563; 
lean_dec(x_454);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_561 = lean_ctor_get(x_455, 0);
lean_inc(x_561);
if (lean_is_exclusive(x_455)) {
 lean_ctor_release(x_455, 0);
 x_562 = x_455;
} else {
 lean_dec_ref(x_455);
 x_562 = lean_box(0);
}
lean_inc(x_561);
if (lean_is_scalar(x_562)) {
 x_563 = lean_alloc_ctor(1, 1, 0);
} else {
 x_563 = x_562;
}
lean_ctor_set(x_563, 0, x_561);
x_14 = x_563;
x_15 = x_561;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_564; 
lean_dec(x_453);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_564 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_564, 0, x_93);
return x_564;
}
}
}
else
{
uint8_t x_565; 
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_565 = !lean_is_exclusive(x_94);
if (x_565 == 0)
{
lean_object* x_566; 
x_566 = lean_ctor_get(x_94, 0);
lean_inc(x_566);
x_14 = x_94;
x_15 = x_566;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_567; lean_object* x_568; 
x_567 = lean_ctor_get(x_94, 0);
lean_inc(x_567);
lean_dec(x_94);
lean_inc(x_567);
x_568 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_568, 0, x_567);
x_14 = x_568;
x_15 = x_567;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
uint8_t x_569; 
lean_dec(x_82);
lean_dec(x_74);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_569 = !lean_is_exclusive(x_83);
if (x_569 == 0)
{
lean_object* x_570; 
x_570 = lean_ctor_get(x_83, 0);
lean_inc(x_570);
x_14 = x_83;
x_15 = x_570;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_571; lean_object* x_572; 
x_571 = lean_ctor_get(x_83, 0);
lean_inc(x_571);
lean_dec(x_83);
lean_inc(x_571);
x_572 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_572, 0, x_571);
x_14 = x_572;
x_15 = x_571;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
uint8_t x_573; 
lean_dec(x_74);
lean_dec(x_72);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_573 = !lean_is_exclusive(x_81);
if (x_573 == 0)
{
lean_object* x_574; 
x_574 = lean_ctor_get(x_81, 0);
lean_inc(x_574);
x_14 = x_81;
x_15 = x_574;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_575; lean_object* x_576; 
x_575 = lean_ctor_get(x_81, 0);
lean_inc(x_575);
lean_dec(x_81);
lean_inc(x_575);
x_576 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_576, 0, x_575);
x_14 = x_576;
x_15 = x_575;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_object* x_577; 
lean_dec(x_74);
lean_dec(x_72);
lean_dec(x_64);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_577 = lean_box(0);
lean_ctor_set(x_77, 0, x_577);
return x_77;
}
}
else
{
lean_object* x_578; uint8_t x_579; 
x_578 = lean_ctor_get(x_77, 0);
lean_inc(x_578);
lean_dec(x_77);
x_579 = lean_unbox(x_578);
lean_dec(x_578);
if (x_579 == 1)
{
lean_object* x_580; 
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_580 = l_Lean_Meta_decLevel(x_64, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_580) == 0)
{
lean_object* x_581; lean_object* x_582; 
x_581 = lean_ctor_get(x_580, 0);
lean_inc(x_581);
lean_dec_ref(x_580);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_582 = l_Lean_Meta_decLevel(x_72, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_582) == 0)
{
lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; 
x_583 = lean_ctor_get(x_582, 0);
lean_inc(x_583);
lean_dec_ref(x_582);
x_584 = l_Lean_Meta_coerceMonadLift_x3f___closed__2;
x_585 = lean_box(0);
lean_ctor_set_tag(x_43, 1);
lean_ctor_set(x_43, 1, x_585);
lean_ctor_set(x_43, 0, x_583);
lean_ctor_set_tag(x_35, 1);
lean_ctor_set(x_35, 1, x_43);
lean_ctor_set(x_35, 0, x_581);
x_586 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_586, 0, x_74);
lean_ctor_set(x_586, 1, x_35);
x_587 = l_Lean_Expr_const___override(x_584, x_586);
x_588 = l_Lean_Meta_coerceMonadLift_x3f___closed__3;
lean_inc(x_45);
x_589 = lean_array_push(x_588, x_45);
lean_inc(x_37);
x_590 = lean_array_push(x_589, x_37);
x_591 = l_Lean_mkAppN(x_587, x_590);
lean_dec_ref(x_590);
x_592 = lean_box(0);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_593 = l_Lean_Meta_trySynthInstance(x_591, x_592, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_593) == 0)
{
lean_object* x_594; lean_object* x_595; 
x_594 = lean_ctor_get(x_593, 0);
lean_inc(x_594);
if (lean_is_exclusive(x_593)) {
 lean_ctor_release(x_593, 0);
 x_595 = x_593;
} else {
 lean_dec_ref(x_593);
 x_595 = lean_box(0);
}
if (lean_obj_tag(x_594) == 1)
{
lean_object* x_596; lean_object* x_597; 
lean_dec(x_595);
x_596 = lean_ctor_get(x_594, 0);
lean_inc(x_596);
lean_dec_ref(x_594);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_46);
x_597 = l_Lean_Meta_getDecLevel(x_46, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_597) == 0)
{
lean_object* x_598; lean_object* x_599; 
x_598 = lean_ctor_get(x_597, 0);
lean_inc(x_598);
lean_dec_ref(x_597);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_599 = l_Lean_Meta_getDecLevel(x_30, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_599) == 0)
{
lean_object* x_600; lean_object* x_601; 
x_600 = lean_ctor_get(x_599, 0);
lean_inc(x_600);
lean_dec_ref(x_599);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_601 = l_Lean_Meta_getDecLevel(x_25, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_601) == 0)
{
lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; 
x_602 = lean_ctor_get(x_601, 0);
lean_inc(x_602);
lean_dec_ref(x_601);
x_603 = l_Lean_Meta_coerceMonadLift_x3f___closed__5;
x_604 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_604, 0, x_602);
lean_ctor_set(x_604, 1, x_585);
x_605 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_605, 0, x_600);
lean_ctor_set(x_605, 1, x_604);
x_606 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_606, 0, x_598);
lean_ctor_set(x_606, 1, x_605);
lean_inc_ref(x_606);
x_607 = l_Lean_mkConst(x_603, x_606);
x_608 = l_Lean_Meta_coerceMonadLift_x3f___closed__6;
lean_inc(x_45);
x_609 = lean_array_push(x_608, x_45);
lean_inc(x_37);
x_610 = lean_array_push(x_609, x_37);
lean_inc(x_596);
x_611 = lean_array_push(x_610, x_596);
lean_inc(x_46);
x_612 = lean_array_push(x_611, x_46);
lean_inc_ref(x_1);
x_613 = lean_array_push(x_612, x_1);
x_614 = l_Lean_mkAppN(x_607, x_613);
lean_dec_ref(x_613);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_614);
x_615 = lean_infer_type(x_614, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_615) == 0)
{
lean_object* x_616; lean_object* x_617; 
x_616 = lean_ctor_get(x_615, 0);
lean_inc(x_616);
lean_dec_ref(x_615);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_617 = l_Lean_Meta_isExprDefEq(x_25, x_616, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_617) == 0)
{
lean_object* x_618; lean_object* x_619; uint8_t x_620; 
x_618 = lean_ctor_get(x_617, 0);
lean_inc(x_618);
if (lean_is_exclusive(x_617)) {
 lean_ctor_release(x_617, 0);
 x_619 = x_617;
} else {
 lean_dec_ref(x_617);
 x_619 = lean_box(0);
}
x_620 = lean_unbox(x_618);
lean_dec(x_618);
if (x_620 == 0)
{
lean_object* x_621; 
lean_dec(x_619);
lean_dec_ref(x_614);
lean_free_object(x_41);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
x_621 = l_Lean_Meta_isMonad_x3f(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_621) == 0)
{
lean_object* x_622; lean_object* x_623; 
x_622 = lean_ctor_get(x_621, 0);
lean_inc(x_622);
if (lean_is_exclusive(x_621)) {
 lean_ctor_release(x_621, 0);
 x_623 = x_621;
} else {
 lean_dec_ref(x_621);
 x_623 = lean_box(0);
}
if (lean_obj_tag(x_622) == 1)
{
lean_object* x_624; lean_object* x_625; lean_object* x_626; 
lean_dec(x_623);
x_624 = lean_ctor_get(x_622, 0);
lean_inc(x_624);
if (lean_is_exclusive(x_622)) {
 lean_ctor_release(x_622, 0);
 x_625 = x_622;
} else {
 lean_dec_ref(x_622);
 x_625 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_46);
x_626 = l_Lean_Meta_getLevel(x_46, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_626) == 0)
{
lean_object* x_627; lean_object* x_628; 
x_627 = lean_ctor_get(x_626, 0);
lean_inc(x_627);
lean_dec_ref(x_626);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_38);
x_628 = l_Lean_Meta_getLevel(x_38, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_628) == 0)
{
lean_object* x_629; lean_object* x_630; uint8_t x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; 
x_629 = lean_ctor_get(x_628, 0);
lean_inc(x_629);
lean_dec_ref(x_628);
x_630 = l_Lean_Meta_coerceMonadLift_x3f___closed__8;
x_631 = 0;
x_632 = l_Lean_Meta_coerceSimple_x3f___closed__1;
x_633 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_633, 0, x_629);
lean_ctor_set(x_633, 1, x_585);
x_634 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_634, 0, x_627);
lean_ctor_set(x_634, 1, x_633);
x_635 = l_Lean_mkConst(x_632, x_634);
x_636 = l_Lean_Meta_coerceMonadLift_x3f___closed__9;
x_637 = l_Lean_Meta_coerceSimple_x3f___closed__2;
lean_inc(x_46);
x_638 = lean_array_push(x_637, x_46);
x_639 = lean_array_push(x_638, x_636);
lean_inc(x_38);
x_640 = lean_array_push(x_639, x_38);
x_641 = l_Lean_mkAppN(x_635, x_640);
lean_dec_ref(x_640);
lean_inc(x_46);
x_642 = l_Lean_mkForall(x_630, x_631, x_46, x_641);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_643 = l_Lean_Meta_trySynthInstance(x_642, x_592, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_643) == 0)
{
lean_object* x_644; lean_object* x_645; 
x_644 = lean_ctor_get(x_643, 0);
lean_inc(x_644);
if (lean_is_exclusive(x_643)) {
 lean_ctor_release(x_643, 0);
 x_645 = x_643;
} else {
 lean_dec_ref(x_643);
 x_645 = lean_box(0);
}
if (lean_obj_tag(x_644) == 1)
{
lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; 
lean_dec(x_645);
x_646 = lean_ctor_get(x_644, 0);
lean_inc(x_646);
lean_dec_ref(x_644);
x_647 = l_Lean_Meta_coerceMonadLift_x3f___closed__12;
x_648 = l_Lean_mkConst(x_647, x_606);
x_649 = l_Lean_Meta_coerceMonadLift_x3f___closed__13;
x_650 = lean_array_push(x_649, x_45);
x_651 = lean_array_push(x_650, x_37);
x_652 = lean_array_push(x_651, x_46);
x_653 = lean_array_push(x_652, x_38);
x_654 = lean_array_push(x_653, x_596);
x_655 = lean_array_push(x_654, x_646);
x_656 = lean_array_push(x_655, x_624);
x_657 = lean_array_push(x_656, x_1);
x_658 = l_Lean_mkAppN(x_648, x_657);
lean_dec_ref(x_657);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_659 = l_Lean_Meta_expandCoe(x_658, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_659) == 0)
{
lean_object* x_660; lean_object* x_661; 
x_660 = lean_ctor_get(x_659, 0);
lean_inc(x_660);
lean_dec_ref(x_659);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_660);
x_661 = lean_infer_type(x_660, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_661) == 0)
{
lean_object* x_662; lean_object* x_663; 
x_662 = lean_ctor_get(x_661, 0);
lean_inc(x_662);
lean_dec_ref(x_661);
x_663 = l_Lean_Meta_isExprDefEq(x_25, x_662, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_663) == 0)
{
lean_object* x_664; lean_object* x_665; uint8_t x_666; 
x_664 = lean_ctor_get(x_663, 0);
lean_inc(x_664);
if (lean_is_exclusive(x_663)) {
 lean_ctor_release(x_663, 0);
 x_665 = x_663;
} else {
 lean_dec_ref(x_663);
 x_665 = lean_box(0);
}
x_666 = lean_unbox(x_664);
lean_dec(x_664);
if (x_666 == 0)
{
lean_object* x_667; 
lean_dec(x_660);
lean_dec(x_625);
if (lean_is_scalar(x_665)) {
 x_667 = lean_alloc_ctor(0, 1, 0);
} else {
 x_667 = x_665;
}
lean_ctor_set(x_667, 0, x_592);
return x_667;
}
else
{
lean_object* x_668; lean_object* x_669; 
if (lean_is_scalar(x_625)) {
 x_668 = lean_alloc_ctor(1, 1, 0);
} else {
 x_668 = x_625;
}
lean_ctor_set(x_668, 0, x_660);
if (lean_is_scalar(x_665)) {
 x_669 = lean_alloc_ctor(0, 1, 0);
} else {
 x_669 = x_665;
}
lean_ctor_set(x_669, 0, x_668);
return x_669;
}
}
else
{
lean_object* x_670; lean_object* x_671; lean_object* x_672; 
lean_dec(x_660);
lean_dec(x_625);
x_670 = lean_ctor_get(x_663, 0);
lean_inc(x_670);
if (lean_is_exclusive(x_663)) {
 lean_ctor_release(x_663, 0);
 x_671 = x_663;
} else {
 lean_dec_ref(x_663);
 x_671 = lean_box(0);
}
lean_inc(x_670);
if (lean_is_scalar(x_671)) {
 x_672 = lean_alloc_ctor(1, 1, 0);
} else {
 x_672 = x_671;
}
lean_ctor_set(x_672, 0, x_670);
x_14 = x_672;
x_15 = x_670;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_673; lean_object* x_674; lean_object* x_675; 
lean_dec(x_660);
lean_dec(x_625);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_673 = lean_ctor_get(x_661, 0);
lean_inc(x_673);
if (lean_is_exclusive(x_661)) {
 lean_ctor_release(x_661, 0);
 x_674 = x_661;
} else {
 lean_dec_ref(x_661);
 x_674 = lean_box(0);
}
lean_inc(x_673);
if (lean_is_scalar(x_674)) {
 x_675 = lean_alloc_ctor(1, 1, 0);
} else {
 x_675 = x_674;
}
lean_ctor_set(x_675, 0, x_673);
x_14 = x_675;
x_15 = x_673;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_676; lean_object* x_677; lean_object* x_678; 
lean_dec(x_625);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_676 = lean_ctor_get(x_659, 0);
lean_inc(x_676);
if (lean_is_exclusive(x_659)) {
 lean_ctor_release(x_659, 0);
 x_677 = x_659;
} else {
 lean_dec_ref(x_659);
 x_677 = lean_box(0);
}
lean_inc(x_676);
if (lean_is_scalar(x_677)) {
 x_678 = lean_alloc_ctor(1, 1, 0);
} else {
 x_678 = x_677;
}
lean_ctor_set(x_678, 0, x_676);
x_14 = x_678;
x_15 = x_676;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_679; 
lean_dec(x_644);
lean_dec(x_625);
lean_dec(x_624);
lean_dec_ref(x_606);
lean_dec(x_596);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_645)) {
 x_679 = lean_alloc_ctor(0, 1, 0);
} else {
 x_679 = x_645;
}
lean_ctor_set(x_679, 0, x_592);
return x_679;
}
}
else
{
lean_object* x_680; lean_object* x_681; lean_object* x_682; 
lean_dec(x_625);
lean_dec(x_624);
lean_dec_ref(x_606);
lean_dec(x_596);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_680 = lean_ctor_get(x_643, 0);
lean_inc(x_680);
if (lean_is_exclusive(x_643)) {
 lean_ctor_release(x_643, 0);
 x_681 = x_643;
} else {
 lean_dec_ref(x_643);
 x_681 = lean_box(0);
}
lean_inc(x_680);
if (lean_is_scalar(x_681)) {
 x_682 = lean_alloc_ctor(1, 1, 0);
} else {
 x_682 = x_681;
}
lean_ctor_set(x_682, 0, x_680);
x_14 = x_682;
x_15 = x_680;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_683; lean_object* x_684; lean_object* x_685; 
lean_dec(x_627);
lean_dec(x_625);
lean_dec(x_624);
lean_dec_ref(x_606);
lean_dec(x_596);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_683 = lean_ctor_get(x_628, 0);
lean_inc(x_683);
if (lean_is_exclusive(x_628)) {
 lean_ctor_release(x_628, 0);
 x_684 = x_628;
} else {
 lean_dec_ref(x_628);
 x_684 = lean_box(0);
}
lean_inc(x_683);
if (lean_is_scalar(x_684)) {
 x_685 = lean_alloc_ctor(1, 1, 0);
} else {
 x_685 = x_684;
}
lean_ctor_set(x_685, 0, x_683);
x_14 = x_685;
x_15 = x_683;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_686; lean_object* x_687; lean_object* x_688; 
lean_dec(x_625);
lean_dec(x_624);
lean_dec_ref(x_606);
lean_dec(x_596);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_686 = lean_ctor_get(x_626, 0);
lean_inc(x_686);
if (lean_is_exclusive(x_626)) {
 lean_ctor_release(x_626, 0);
 x_687 = x_626;
} else {
 lean_dec_ref(x_626);
 x_687 = lean_box(0);
}
lean_inc(x_686);
if (lean_is_scalar(x_687)) {
 x_688 = lean_alloc_ctor(1, 1, 0);
} else {
 x_688 = x_687;
}
lean_ctor_set(x_688, 0, x_686);
x_14 = x_688;
x_15 = x_686;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_689; 
lean_dec(x_622);
lean_dec_ref(x_606);
lean_dec(x_596);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_623)) {
 x_689 = lean_alloc_ctor(0, 1, 0);
} else {
 x_689 = x_623;
}
lean_ctor_set(x_689, 0, x_592);
return x_689;
}
}
else
{
lean_dec_ref(x_606);
lean_dec(x_596);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_20 = x_621;
goto block_22;
}
}
else
{
lean_object* x_690; 
lean_dec_ref(x_606);
lean_dec(x_596);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
lean_ctor_set(x_41, 0, x_614);
if (lean_is_scalar(x_619)) {
 x_690 = lean_alloc_ctor(0, 1, 0);
} else {
 x_690 = x_619;
}
lean_ctor_set(x_690, 0, x_41);
return x_690;
}
}
else
{
lean_object* x_691; lean_object* x_692; lean_object* x_693; 
lean_dec_ref(x_614);
lean_dec_ref(x_606);
lean_dec(x_596);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_691 = lean_ctor_get(x_617, 0);
lean_inc(x_691);
if (lean_is_exclusive(x_617)) {
 lean_ctor_release(x_617, 0);
 x_692 = x_617;
} else {
 lean_dec_ref(x_617);
 x_692 = lean_box(0);
}
lean_inc(x_691);
if (lean_is_scalar(x_692)) {
 x_693 = lean_alloc_ctor(1, 1, 0);
} else {
 x_693 = x_692;
}
lean_ctor_set(x_693, 0, x_691);
x_14 = x_693;
x_15 = x_691;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_694; lean_object* x_695; lean_object* x_696; 
lean_dec_ref(x_614);
lean_dec_ref(x_606);
lean_dec(x_596);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_694 = lean_ctor_get(x_615, 0);
lean_inc(x_694);
if (lean_is_exclusive(x_615)) {
 lean_ctor_release(x_615, 0);
 x_695 = x_615;
} else {
 lean_dec_ref(x_615);
 x_695 = lean_box(0);
}
lean_inc(x_694);
if (lean_is_scalar(x_695)) {
 x_696 = lean_alloc_ctor(1, 1, 0);
} else {
 x_696 = x_695;
}
lean_ctor_set(x_696, 0, x_694);
x_14 = x_696;
x_15 = x_694;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_697; lean_object* x_698; lean_object* x_699; 
lean_dec(x_600);
lean_dec(x_598);
lean_dec(x_596);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_697 = lean_ctor_get(x_601, 0);
lean_inc(x_697);
if (lean_is_exclusive(x_601)) {
 lean_ctor_release(x_601, 0);
 x_698 = x_601;
} else {
 lean_dec_ref(x_601);
 x_698 = lean_box(0);
}
lean_inc(x_697);
if (lean_is_scalar(x_698)) {
 x_699 = lean_alloc_ctor(1, 1, 0);
} else {
 x_699 = x_698;
}
lean_ctor_set(x_699, 0, x_697);
x_14 = x_699;
x_15 = x_697;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_700; lean_object* x_701; lean_object* x_702; 
lean_dec(x_598);
lean_dec(x_596);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_700 = lean_ctor_get(x_599, 0);
lean_inc(x_700);
if (lean_is_exclusive(x_599)) {
 lean_ctor_release(x_599, 0);
 x_701 = x_599;
} else {
 lean_dec_ref(x_599);
 x_701 = lean_box(0);
}
lean_inc(x_700);
if (lean_is_scalar(x_701)) {
 x_702 = lean_alloc_ctor(1, 1, 0);
} else {
 x_702 = x_701;
}
lean_ctor_set(x_702, 0, x_700);
x_14 = x_702;
x_15 = x_700;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_703; lean_object* x_704; lean_object* x_705; 
lean_dec(x_596);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_703 = lean_ctor_get(x_597, 0);
lean_inc(x_703);
if (lean_is_exclusive(x_597)) {
 lean_ctor_release(x_597, 0);
 x_704 = x_597;
} else {
 lean_dec_ref(x_597);
 x_704 = lean_box(0);
}
lean_inc(x_703);
if (lean_is_scalar(x_704)) {
 x_705 = lean_alloc_ctor(1, 1, 0);
} else {
 x_705 = x_704;
}
lean_ctor_set(x_705, 0, x_703);
x_14 = x_705;
x_15 = x_703;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_706; 
lean_dec(x_594);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_595)) {
 x_706 = lean_alloc_ctor(0, 1, 0);
} else {
 x_706 = x_595;
}
lean_ctor_set(x_706, 0, x_592);
return x_706;
}
}
else
{
lean_object* x_707; lean_object* x_708; lean_object* x_709; 
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_707 = lean_ctor_get(x_593, 0);
lean_inc(x_707);
if (lean_is_exclusive(x_593)) {
 lean_ctor_release(x_593, 0);
 x_708 = x_593;
} else {
 lean_dec_ref(x_593);
 x_708 = lean_box(0);
}
lean_inc(x_707);
if (lean_is_scalar(x_708)) {
 x_709 = lean_alloc_ctor(1, 1, 0);
} else {
 x_709 = x_708;
}
lean_ctor_set(x_709, 0, x_707);
x_14 = x_709;
x_15 = x_707;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_710; lean_object* x_711; lean_object* x_712; 
lean_dec(x_581);
lean_dec(x_74);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_710 = lean_ctor_get(x_582, 0);
lean_inc(x_710);
if (lean_is_exclusive(x_582)) {
 lean_ctor_release(x_582, 0);
 x_711 = x_582;
} else {
 lean_dec_ref(x_582);
 x_711 = lean_box(0);
}
lean_inc(x_710);
if (lean_is_scalar(x_711)) {
 x_712 = lean_alloc_ctor(1, 1, 0);
} else {
 x_712 = x_711;
}
lean_ctor_set(x_712, 0, x_710);
x_14 = x_712;
x_15 = x_710;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_713; lean_object* x_714; lean_object* x_715; 
lean_dec(x_74);
lean_dec(x_72);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_713 = lean_ctor_get(x_580, 0);
lean_inc(x_713);
if (lean_is_exclusive(x_580)) {
 lean_ctor_release(x_580, 0);
 x_714 = x_580;
} else {
 lean_dec_ref(x_580);
 x_714 = lean_box(0);
}
lean_inc(x_713);
if (lean_is_scalar(x_714)) {
 x_715 = lean_alloc_ctor(1, 1, 0);
} else {
 x_715 = x_714;
}
lean_ctor_set(x_715, 0, x_713);
x_14 = x_715;
x_15 = x_713;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_716; lean_object* x_717; 
lean_dec(x_74);
lean_dec(x_72);
lean_dec(x_64);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_716 = lean_box(0);
x_717 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_717, 0, x_716);
return x_717;
}
}
}
else
{
uint8_t x_718; 
lean_dec(x_74);
lean_dec(x_72);
lean_dec(x_64);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_718 = !lean_is_exclusive(x_77);
if (x_718 == 0)
{
lean_object* x_719; 
x_719 = lean_ctor_get(x_77, 0);
lean_inc(x_719);
x_14 = x_77;
x_15 = x_719;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_720; lean_object* x_721; 
x_720 = lean_ctor_get(x_77, 0);
lean_inc(x_720);
lean_dec(x_77);
lean_inc(x_720);
x_721 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_721, 0, x_720);
x_14 = x_721;
x_15 = x_720;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
uint8_t x_722; 
lean_dec(x_74);
lean_dec(x_72);
lean_dec(x_64);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_722 = !lean_is_exclusive(x_75);
if (x_722 == 0)
{
lean_object* x_723; 
x_723 = lean_ctor_get(x_75, 0);
lean_inc(x_723);
x_14 = x_75;
x_15 = x_723;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_724; lean_object* x_725; 
x_724 = lean_ctor_get(x_75, 0);
lean_inc(x_724);
lean_dec(x_75);
lean_inc(x_724);
x_725 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_725, 0, x_724);
x_14 = x_725;
x_15 = x_724;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
uint8_t x_726; 
lean_dec(x_72);
lean_dec(x_71);
lean_dec(x_64);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_726 = !lean_is_exclusive(x_73);
if (x_726 == 0)
{
lean_object* x_727; 
x_727 = lean_ctor_get(x_73, 0);
lean_inc(x_727);
x_14 = x_73;
x_15 = x_727;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_728; lean_object* x_729; 
x_728 = lean_ctor_get(x_73, 0);
lean_inc(x_728);
lean_dec(x_73);
lean_inc(x_728);
x_729 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_729, 0, x_728);
x_14 = x_729;
x_15 = x_728;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_object* x_730; 
lean_dec(x_64);
lean_dec(x_63);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_730 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_68, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_68);
x_20 = x_730;
goto block_22;
}
}
else
{
lean_object* x_731; 
lean_dec(x_64);
lean_dec(x_63);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_731 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_68, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_68);
x_20 = x_731;
goto block_22;
}
}
else
{
lean_object* x_732; 
lean_dec(x_64);
lean_dec(x_63);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_732 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_68, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_68);
x_20 = x_732;
goto block_22;
}
}
else
{
uint8_t x_733; 
lean_dec(x_64);
lean_dec(x_63);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_733 = !lean_is_exclusive(x_67);
if (x_733 == 0)
{
lean_object* x_734; 
x_734 = lean_ctor_get(x_67, 0);
lean_inc(x_734);
x_14 = x_67;
x_15 = x_734;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_735; lean_object* x_736; 
x_735 = lean_ctor_get(x_67, 0);
lean_inc(x_735);
lean_dec(x_67);
lean_inc(x_735);
x_736 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_736, 0, x_735);
x_14 = x_736;
x_15 = x_735;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
uint8_t x_737; 
lean_dec(x_64);
lean_dec(x_63);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_737 = !lean_is_exclusive(x_65);
if (x_737 == 0)
{
lean_object* x_738; 
x_738 = lean_ctor_get(x_65, 0);
lean_inc(x_738);
x_14 = x_65;
x_15 = x_738;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_739; lean_object* x_740; 
x_739 = lean_ctor_get(x_65, 0);
lean_inc(x_739);
lean_dec(x_65);
lean_inc(x_739);
x_740 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_740, 0, x_739);
x_14 = x_740;
x_15 = x_739;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_object* x_741; 
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_741 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_60, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_60);
x_20 = x_741;
goto block_22;
}
}
else
{
lean_object* x_742; 
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_742 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_60, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_60);
x_20 = x_742;
goto block_22;
}
}
else
{
lean_object* x_743; 
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_743 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_60, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_60);
x_20 = x_743;
goto block_22;
}
}
else
{
uint8_t x_744; 
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_744 = !lean_is_exclusive(x_59);
if (x_744 == 0)
{
lean_object* x_745; 
x_745 = lean_ctor_get(x_59, 0);
lean_inc(x_745);
x_14 = x_59;
x_15 = x_745;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_746; lean_object* x_747; 
x_746 = lean_ctor_get(x_59, 0);
lean_inc(x_746);
lean_dec(x_59);
lean_inc(x_746);
x_747 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_747, 0, x_746);
x_14 = x_747;
x_15 = x_746;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
uint8_t x_748; 
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_748 = !lean_is_exclusive(x_57);
if (x_748 == 0)
{
lean_object* x_749; 
x_749 = lean_ctor_get(x_57, 0);
lean_inc(x_749);
x_14 = x_57;
x_15 = x_749;
x_16 = lean_box(0);
goto block_19;
}
else
{
lean_object* x_750; lean_object* x_751; 
x_750 = lean_ctor_get(x_57, 0);
lean_inc(x_750);
lean_dec(x_57);
lean_inc(x_750);
x_751 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_751, 0, x_750);
x_14 = x_751;
x_15 = x_750;
x_16 = lean_box(0);
goto block_19;
}
}
}
}
else
{
lean_object* x_752; 
lean_free_object(x_49);
lean_free_object(x_43);
lean_free_object(x_35);
lean_dec(x_30);
lean_dec(x_25);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_752 = l_Lean_Meta_isMonad_x3f(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_752) == 0)
{
lean_object* x_753; lean_object* x_754; 
x_753 = lean_ctor_get(x_752, 0);
lean_inc(x_753);
if (lean_is_exclusive(x_752)) {
 lean_ctor_release(x_752, 0);
 x_754 = x_752;
} else {
 lean_dec_ref(x_752);
 x_754 = lean_box(0);
}
if (lean_obj_tag(x_753) == 1)
{
lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; uint8_t x_759; lean_object* x_769; lean_object* x_770; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; 
x_755 = l_Lean_Meta_coerceMonadLift_x3f___closed__15;
lean_ctor_set(x_41, 0, x_45);
lean_ctor_set(x_33, 0, x_46);
lean_ctor_set_tag(x_28, 1);
lean_ctor_set(x_28, 0, x_38);
x_756 = lean_box(0);
lean_ctor_set_tag(x_23, 1);
lean_ctor_set(x_23, 0, x_1);
x_774 = l_Lean_Meta_coerceMonadLift_x3f___closed__16;
x_775 = lean_array_push(x_774, x_41);
x_776 = lean_array_push(x_775, x_33);
x_777 = lean_array_push(x_776, x_28);
x_778 = lean_array_push(x_777, x_756);
x_779 = lean_array_push(x_778, x_753);
x_780 = lean_array_push(x_779, x_23);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_781 = l_Lean_Meta_mkAppOptM(x_755, x_780, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_781) == 0)
{
uint8_t x_782; 
x_782 = !lean_is_exclusive(x_781);
if (x_782 == 0)
{
lean_object* x_783; lean_object* x_784; 
x_783 = lean_ctor_get(x_781, 0);
lean_inc(x_6);
lean_inc(x_4);
x_784 = l_Lean_Meta_expandCoe(x_783, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_784) == 0)
{
uint8_t x_785; 
lean_dec(x_754);
lean_dec(x_48);
lean_dec(x_6);
lean_dec(x_4);
x_785 = !lean_is_exclusive(x_784);
if (x_785 == 0)
{
lean_object* x_786; 
x_786 = lean_ctor_get(x_784, 0);
lean_ctor_set_tag(x_781, 1);
lean_ctor_set(x_781, 0, x_786);
lean_ctor_set(x_784, 0, x_781);
return x_784;
}
else
{
lean_object* x_787; lean_object* x_788; 
x_787 = lean_ctor_get(x_784, 0);
lean_inc(x_787);
lean_dec(x_784);
lean_ctor_set_tag(x_781, 1);
lean_ctor_set(x_781, 0, x_787);
x_788 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_788, 0, x_781);
return x_788;
}
}
else
{
lean_object* x_789; 
lean_free_object(x_781);
x_789 = lean_ctor_get(x_784, 0);
lean_inc(x_789);
lean_dec_ref(x_784);
x_769 = x_789;
x_770 = lean_box(0);
goto block_773;
}
}
else
{
lean_object* x_790; lean_object* x_791; 
x_790 = lean_ctor_get(x_781, 0);
lean_inc(x_790);
lean_dec(x_781);
lean_inc(x_6);
lean_inc(x_4);
x_791 = l_Lean_Meta_expandCoe(x_790, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_791) == 0)
{
lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; 
lean_dec(x_754);
lean_dec(x_48);
lean_dec(x_6);
lean_dec(x_4);
x_792 = lean_ctor_get(x_791, 0);
lean_inc(x_792);
if (lean_is_exclusive(x_791)) {
 lean_ctor_release(x_791, 0);
 x_793 = x_791;
} else {
 lean_dec_ref(x_791);
 x_793 = lean_box(0);
}
x_794 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_794, 0, x_792);
if (lean_is_scalar(x_793)) {
 x_795 = lean_alloc_ctor(0, 1, 0);
} else {
 x_795 = x_793;
}
lean_ctor_set(x_795, 0, x_794);
return x_795;
}
else
{
lean_object* x_796; 
x_796 = lean_ctor_get(x_791, 0);
lean_inc(x_796);
lean_dec_ref(x_791);
x_769 = x_796;
x_770 = lean_box(0);
goto block_773;
}
}
}
else
{
lean_object* x_797; 
lean_dec_ref(x_5);
lean_dec_ref(x_3);
x_797 = lean_ctor_get(x_781, 0);
lean_inc(x_797);
lean_dec_ref(x_781);
x_769 = x_797;
x_770 = lean_box(0);
goto block_773;
}
block_768:
{
if (x_759 == 0)
{
lean_object* x_760; 
lean_dec_ref(x_757);
lean_dec(x_754);
x_760 = l_Lean_Meta_SavedState_restore___redArg(x_48, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_48);
if (lean_obj_tag(x_760) == 0)
{
uint8_t x_761; 
x_761 = !lean_is_exclusive(x_760);
if (x_761 == 0)
{
lean_object* x_762; 
x_762 = lean_ctor_get(x_760, 0);
lean_dec(x_762);
lean_ctor_set(x_760, 0, x_756);
return x_760;
}
else
{
lean_object* x_763; 
lean_dec(x_760);
x_763 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_763, 0, x_756);
return x_763;
}
}
else
{
uint8_t x_764; 
x_764 = !lean_is_exclusive(x_760);
if (x_764 == 0)
{
return x_760;
}
else
{
lean_object* x_765; lean_object* x_766; 
x_765 = lean_ctor_get(x_760, 0);
lean_inc(x_765);
lean_dec(x_760);
x_766 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_766, 0, x_765);
return x_766;
}
}
}
else
{
lean_object* x_767; 
lean_dec(x_48);
lean_dec(x_6);
lean_dec(x_4);
if (lean_is_scalar(x_754)) {
 x_767 = lean_alloc_ctor(1, 1, 0);
} else {
 x_767 = x_754;
 lean_ctor_set_tag(x_767, 1);
}
lean_ctor_set(x_767, 0, x_757);
return x_767;
}
}
block_773:
{
uint8_t x_771; 
x_771 = l_Lean_Exception_isInterrupt(x_769);
if (x_771 == 0)
{
uint8_t x_772; 
x_772 = l_Lean_Exception_isRuntime(x_769);
x_757 = x_769;
x_758 = lean_box(0);
x_759 = x_772;
goto block_768;
}
else
{
x_757 = x_769;
x_758 = lean_box(0);
x_759 = x_771;
goto block_768;
}
}
}
else
{
lean_object* x_798; 
lean_dec(x_754);
lean_dec(x_753);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
lean_dec_ref(x_5);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_798 = l_Lean_Meta_SavedState_restore___redArg(x_48, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_48);
if (lean_obj_tag(x_798) == 0)
{
uint8_t x_799; 
x_799 = !lean_is_exclusive(x_798);
if (x_799 == 0)
{
lean_object* x_800; lean_object* x_801; 
x_800 = lean_ctor_get(x_798, 0);
lean_dec(x_800);
x_801 = lean_box(0);
lean_ctor_set(x_798, 0, x_801);
return x_798;
}
else
{
lean_object* x_802; lean_object* x_803; 
lean_dec(x_798);
x_802 = lean_box(0);
x_803 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_803, 0, x_802);
return x_803;
}
}
else
{
uint8_t x_804; 
x_804 = !lean_is_exclusive(x_798);
if (x_804 == 0)
{
return x_798;
}
else
{
lean_object* x_805; lean_object* x_806; 
x_805 = lean_ctor_get(x_798, 0);
lean_inc(x_805);
lean_dec(x_798);
x_806 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_806, 0, x_805);
return x_806;
}
}
}
}
else
{
lean_dec(x_48);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
return x_752;
}
}
}
else
{
lean_object* x_807; uint8_t x_808; 
x_807 = lean_ctor_get(x_49, 0);
lean_inc(x_807);
lean_dec(x_49);
x_808 = lean_unbox(x_807);
lean_dec(x_807);
if (x_808 == 0)
{
lean_object* x_809; lean_object* x_810; uint8_t x_811; 
lean_dec(x_48);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
x_809 = lean_ctor_get(x_5, 2);
x_810 = l_Lean_Meta_coerceMonadLift_x3f___closed__0;
x_811 = l_Lean_Option_get___at___00Lean_Meta_coerceMonadLift_x3f_spec__0(x_809, x_810);
if (x_811 == 0)
{
lean_object* x_812; lean_object* x_813; 
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_812 = lean_box(0);
x_813 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_813, 0, x_812);
return x_813;
}
else
{
lean_object* x_814; 
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_45);
x_814 = lean_infer_type(x_45, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_814) == 0)
{
lean_object* x_815; lean_object* x_816; 
x_815 = lean_ctor_get(x_814, 0);
lean_inc(x_815);
lean_dec_ref(x_814);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_816 = lean_whnf(x_815, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_816) == 0)
{
lean_object* x_817; 
x_817 = lean_ctor_get(x_816, 0);
lean_inc(x_817);
lean_dec_ref(x_816);
if (lean_obj_tag(x_817) == 7)
{
lean_object* x_818; 
x_818 = lean_ctor_get(x_817, 1);
if (lean_obj_tag(x_818) == 3)
{
lean_object* x_819; 
x_819 = lean_ctor_get(x_817, 2);
if (lean_obj_tag(x_819) == 3)
{
lean_object* x_820; lean_object* x_821; lean_object* x_822; 
lean_inc_ref(x_819);
lean_inc_ref(x_818);
lean_dec_ref(x_817);
x_820 = lean_ctor_get(x_818, 0);
lean_inc(x_820);
lean_dec_ref(x_818);
x_821 = lean_ctor_get(x_819, 0);
lean_inc(x_821);
lean_dec_ref(x_819);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
x_822 = lean_infer_type(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_822) == 0)
{
lean_object* x_823; lean_object* x_824; 
x_823 = lean_ctor_get(x_822, 0);
lean_inc(x_823);
lean_dec_ref(x_822);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_824 = lean_whnf(x_823, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_824) == 0)
{
lean_object* x_825; 
x_825 = lean_ctor_get(x_824, 0);
lean_inc(x_825);
lean_dec_ref(x_824);
if (lean_obj_tag(x_825) == 7)
{
lean_object* x_826; 
x_826 = lean_ctor_get(x_825, 1);
if (lean_obj_tag(x_826) == 3)
{
lean_object* x_827; 
x_827 = lean_ctor_get(x_825, 2);
if (lean_obj_tag(x_827) == 3)
{
lean_object* x_828; lean_object* x_829; lean_object* x_830; 
lean_inc_ref(x_827);
lean_inc_ref(x_826);
lean_dec_ref(x_825);
x_828 = lean_ctor_get(x_826, 0);
lean_inc(x_828);
lean_dec_ref(x_826);
x_829 = lean_ctor_get(x_827, 0);
lean_inc(x_829);
lean_dec_ref(x_827);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_830 = l_Lean_Meta_decLevel(x_820, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_830) == 0)
{
lean_object* x_831; lean_object* x_832; 
x_831 = lean_ctor_get(x_830, 0);
lean_inc(x_831);
lean_dec_ref(x_830);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_832 = l_Lean_Meta_decLevel(x_828, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_832) == 0)
{
lean_object* x_833; lean_object* x_834; 
x_833 = lean_ctor_get(x_832, 0);
lean_inc(x_833);
lean_dec_ref(x_832);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_831);
x_834 = l_Lean_Meta_isLevelDefEq(x_831, x_833, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_834) == 0)
{
lean_object* x_835; lean_object* x_836; uint8_t x_837; 
x_835 = lean_ctor_get(x_834, 0);
lean_inc(x_835);
if (lean_is_exclusive(x_834)) {
 lean_ctor_release(x_834, 0);
 x_836 = x_834;
} else {
 lean_dec_ref(x_834);
 x_836 = lean_box(0);
}
x_837 = lean_unbox(x_835);
lean_dec(x_835);
if (x_837 == 1)
{
lean_object* x_838; 
lean_dec(x_836);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_838 = l_Lean_Meta_decLevel(x_821, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_838) == 0)
{
lean_object* x_839; lean_object* x_840; 
x_839 = lean_ctor_get(x_838, 0);
lean_inc(x_839);
lean_dec_ref(x_838);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_840 = l_Lean_Meta_decLevel(x_829, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_840) == 0)
{
lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; 
x_841 = lean_ctor_get(x_840, 0);
lean_inc(x_841);
lean_dec_ref(x_840);
x_842 = l_Lean_Meta_coerceMonadLift_x3f___closed__2;
x_843 = lean_box(0);
lean_ctor_set_tag(x_43, 1);
lean_ctor_set(x_43, 1, x_843);
lean_ctor_set(x_43, 0, x_841);
lean_ctor_set_tag(x_35, 1);
lean_ctor_set(x_35, 1, x_43);
lean_ctor_set(x_35, 0, x_839);
x_844 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_844, 0, x_831);
lean_ctor_set(x_844, 1, x_35);
x_845 = l_Lean_Expr_const___override(x_842, x_844);
x_846 = l_Lean_Meta_coerceMonadLift_x3f___closed__3;
lean_inc(x_45);
x_847 = lean_array_push(x_846, x_45);
lean_inc(x_37);
x_848 = lean_array_push(x_847, x_37);
x_849 = l_Lean_mkAppN(x_845, x_848);
lean_dec_ref(x_848);
x_850 = lean_box(0);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_851 = l_Lean_Meta_trySynthInstance(x_849, x_850, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_851) == 0)
{
lean_object* x_852; lean_object* x_853; 
x_852 = lean_ctor_get(x_851, 0);
lean_inc(x_852);
if (lean_is_exclusive(x_851)) {
 lean_ctor_release(x_851, 0);
 x_853 = x_851;
} else {
 lean_dec_ref(x_851);
 x_853 = lean_box(0);
}
if (lean_obj_tag(x_852) == 1)
{
lean_object* x_854; lean_object* x_855; 
lean_dec(x_853);
x_854 = lean_ctor_get(x_852, 0);
lean_inc(x_854);
lean_dec_ref(x_852);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_46);
x_855 = l_Lean_Meta_getDecLevel(x_46, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_855) == 0)
{
lean_object* x_856; lean_object* x_857; 
x_856 = lean_ctor_get(x_855, 0);
lean_inc(x_856);
lean_dec_ref(x_855);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_857 = l_Lean_Meta_getDecLevel(x_30, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_857) == 0)
{
lean_object* x_858; lean_object* x_859; 
x_858 = lean_ctor_get(x_857, 0);
lean_inc(x_858);
lean_dec_ref(x_857);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_859 = l_Lean_Meta_getDecLevel(x_25, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_859) == 0)
{
lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; 
x_860 = lean_ctor_get(x_859, 0);
lean_inc(x_860);
lean_dec_ref(x_859);
x_861 = l_Lean_Meta_coerceMonadLift_x3f___closed__5;
x_862 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_862, 0, x_860);
lean_ctor_set(x_862, 1, x_843);
x_863 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_863, 0, x_858);
lean_ctor_set(x_863, 1, x_862);
x_864 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_864, 0, x_856);
lean_ctor_set(x_864, 1, x_863);
lean_inc_ref(x_864);
x_865 = l_Lean_mkConst(x_861, x_864);
x_866 = l_Lean_Meta_coerceMonadLift_x3f___closed__6;
lean_inc(x_45);
x_867 = lean_array_push(x_866, x_45);
lean_inc(x_37);
x_868 = lean_array_push(x_867, x_37);
lean_inc(x_854);
x_869 = lean_array_push(x_868, x_854);
lean_inc(x_46);
x_870 = lean_array_push(x_869, x_46);
lean_inc_ref(x_1);
x_871 = lean_array_push(x_870, x_1);
x_872 = l_Lean_mkAppN(x_865, x_871);
lean_dec_ref(x_871);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_872);
x_873 = lean_infer_type(x_872, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_873) == 0)
{
lean_object* x_874; lean_object* x_875; 
x_874 = lean_ctor_get(x_873, 0);
lean_inc(x_874);
lean_dec_ref(x_873);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_875 = l_Lean_Meta_isExprDefEq(x_25, x_874, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_875) == 0)
{
lean_object* x_876; lean_object* x_877; uint8_t x_878; 
x_876 = lean_ctor_get(x_875, 0);
lean_inc(x_876);
if (lean_is_exclusive(x_875)) {
 lean_ctor_release(x_875, 0);
 x_877 = x_875;
} else {
 lean_dec_ref(x_875);
 x_877 = lean_box(0);
}
x_878 = lean_unbox(x_876);
lean_dec(x_876);
if (x_878 == 0)
{
lean_object* x_879; 
lean_dec(x_877);
lean_dec_ref(x_872);
lean_free_object(x_41);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
x_879 = l_Lean_Meta_isMonad_x3f(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_879) == 0)
{
lean_object* x_880; lean_object* x_881; 
x_880 = lean_ctor_get(x_879, 0);
lean_inc(x_880);
if (lean_is_exclusive(x_879)) {
 lean_ctor_release(x_879, 0);
 x_881 = x_879;
} else {
 lean_dec_ref(x_879);
 x_881 = lean_box(0);
}
if (lean_obj_tag(x_880) == 1)
{
lean_object* x_882; lean_object* x_883; lean_object* x_884; 
lean_dec(x_881);
x_882 = lean_ctor_get(x_880, 0);
lean_inc(x_882);
if (lean_is_exclusive(x_880)) {
 lean_ctor_release(x_880, 0);
 x_883 = x_880;
} else {
 lean_dec_ref(x_880);
 x_883 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_46);
x_884 = l_Lean_Meta_getLevel(x_46, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_884) == 0)
{
lean_object* x_885; lean_object* x_886; 
x_885 = lean_ctor_get(x_884, 0);
lean_inc(x_885);
lean_dec_ref(x_884);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_38);
x_886 = l_Lean_Meta_getLevel(x_38, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_886) == 0)
{
lean_object* x_887; lean_object* x_888; uint8_t x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; 
x_887 = lean_ctor_get(x_886, 0);
lean_inc(x_887);
lean_dec_ref(x_886);
x_888 = l_Lean_Meta_coerceMonadLift_x3f___closed__8;
x_889 = 0;
x_890 = l_Lean_Meta_coerceSimple_x3f___closed__1;
x_891 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_891, 0, x_887);
lean_ctor_set(x_891, 1, x_843);
x_892 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_892, 0, x_885);
lean_ctor_set(x_892, 1, x_891);
x_893 = l_Lean_mkConst(x_890, x_892);
x_894 = l_Lean_Meta_coerceMonadLift_x3f___closed__9;
x_895 = l_Lean_Meta_coerceSimple_x3f___closed__2;
lean_inc(x_46);
x_896 = lean_array_push(x_895, x_46);
x_897 = lean_array_push(x_896, x_894);
lean_inc(x_38);
x_898 = lean_array_push(x_897, x_38);
x_899 = l_Lean_mkAppN(x_893, x_898);
lean_dec_ref(x_898);
lean_inc(x_46);
x_900 = l_Lean_mkForall(x_888, x_889, x_46, x_899);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_901 = l_Lean_Meta_trySynthInstance(x_900, x_850, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_901) == 0)
{
lean_object* x_902; lean_object* x_903; 
x_902 = lean_ctor_get(x_901, 0);
lean_inc(x_902);
if (lean_is_exclusive(x_901)) {
 lean_ctor_release(x_901, 0);
 x_903 = x_901;
} else {
 lean_dec_ref(x_901);
 x_903 = lean_box(0);
}
if (lean_obj_tag(x_902) == 1)
{
lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; 
lean_dec(x_903);
x_904 = lean_ctor_get(x_902, 0);
lean_inc(x_904);
lean_dec_ref(x_902);
x_905 = l_Lean_Meta_coerceMonadLift_x3f___closed__12;
x_906 = l_Lean_mkConst(x_905, x_864);
x_907 = l_Lean_Meta_coerceMonadLift_x3f___closed__13;
x_908 = lean_array_push(x_907, x_45);
x_909 = lean_array_push(x_908, x_37);
x_910 = lean_array_push(x_909, x_46);
x_911 = lean_array_push(x_910, x_38);
x_912 = lean_array_push(x_911, x_854);
x_913 = lean_array_push(x_912, x_904);
x_914 = lean_array_push(x_913, x_882);
x_915 = lean_array_push(x_914, x_1);
x_916 = l_Lean_mkAppN(x_906, x_915);
lean_dec_ref(x_915);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_917 = l_Lean_Meta_expandCoe(x_916, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_917) == 0)
{
lean_object* x_918; lean_object* x_919; 
x_918 = lean_ctor_get(x_917, 0);
lean_inc(x_918);
lean_dec_ref(x_917);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_918);
x_919 = lean_infer_type(x_918, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_919) == 0)
{
lean_object* x_920; lean_object* x_921; 
x_920 = lean_ctor_get(x_919, 0);
lean_inc(x_920);
lean_dec_ref(x_919);
x_921 = l_Lean_Meta_isExprDefEq(x_25, x_920, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_921) == 0)
{
lean_object* x_922; lean_object* x_923; uint8_t x_924; 
x_922 = lean_ctor_get(x_921, 0);
lean_inc(x_922);
if (lean_is_exclusive(x_921)) {
 lean_ctor_release(x_921, 0);
 x_923 = x_921;
} else {
 lean_dec_ref(x_921);
 x_923 = lean_box(0);
}
x_924 = lean_unbox(x_922);
lean_dec(x_922);
if (x_924 == 0)
{
lean_object* x_925; 
lean_dec(x_918);
lean_dec(x_883);
if (lean_is_scalar(x_923)) {
 x_925 = lean_alloc_ctor(0, 1, 0);
} else {
 x_925 = x_923;
}
lean_ctor_set(x_925, 0, x_850);
return x_925;
}
else
{
lean_object* x_926; lean_object* x_927; 
if (lean_is_scalar(x_883)) {
 x_926 = lean_alloc_ctor(1, 1, 0);
} else {
 x_926 = x_883;
}
lean_ctor_set(x_926, 0, x_918);
if (lean_is_scalar(x_923)) {
 x_927 = lean_alloc_ctor(0, 1, 0);
} else {
 x_927 = x_923;
}
lean_ctor_set(x_927, 0, x_926);
return x_927;
}
}
else
{
lean_object* x_928; lean_object* x_929; lean_object* x_930; 
lean_dec(x_918);
lean_dec(x_883);
x_928 = lean_ctor_get(x_921, 0);
lean_inc(x_928);
if (lean_is_exclusive(x_921)) {
 lean_ctor_release(x_921, 0);
 x_929 = x_921;
} else {
 lean_dec_ref(x_921);
 x_929 = lean_box(0);
}
lean_inc(x_928);
if (lean_is_scalar(x_929)) {
 x_930 = lean_alloc_ctor(1, 1, 0);
} else {
 x_930 = x_929;
}
lean_ctor_set(x_930, 0, x_928);
x_14 = x_930;
x_15 = x_928;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_931; lean_object* x_932; lean_object* x_933; 
lean_dec(x_918);
lean_dec(x_883);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_931 = lean_ctor_get(x_919, 0);
lean_inc(x_931);
if (lean_is_exclusive(x_919)) {
 lean_ctor_release(x_919, 0);
 x_932 = x_919;
} else {
 lean_dec_ref(x_919);
 x_932 = lean_box(0);
}
lean_inc(x_931);
if (lean_is_scalar(x_932)) {
 x_933 = lean_alloc_ctor(1, 1, 0);
} else {
 x_933 = x_932;
}
lean_ctor_set(x_933, 0, x_931);
x_14 = x_933;
x_15 = x_931;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_934; lean_object* x_935; lean_object* x_936; 
lean_dec(x_883);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_934 = lean_ctor_get(x_917, 0);
lean_inc(x_934);
if (lean_is_exclusive(x_917)) {
 lean_ctor_release(x_917, 0);
 x_935 = x_917;
} else {
 lean_dec_ref(x_917);
 x_935 = lean_box(0);
}
lean_inc(x_934);
if (lean_is_scalar(x_935)) {
 x_936 = lean_alloc_ctor(1, 1, 0);
} else {
 x_936 = x_935;
}
lean_ctor_set(x_936, 0, x_934);
x_14 = x_936;
x_15 = x_934;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_937; 
lean_dec(x_902);
lean_dec(x_883);
lean_dec(x_882);
lean_dec_ref(x_864);
lean_dec(x_854);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_903)) {
 x_937 = lean_alloc_ctor(0, 1, 0);
} else {
 x_937 = x_903;
}
lean_ctor_set(x_937, 0, x_850);
return x_937;
}
}
else
{
lean_object* x_938; lean_object* x_939; lean_object* x_940; 
lean_dec(x_883);
lean_dec(x_882);
lean_dec_ref(x_864);
lean_dec(x_854);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_938 = lean_ctor_get(x_901, 0);
lean_inc(x_938);
if (lean_is_exclusive(x_901)) {
 lean_ctor_release(x_901, 0);
 x_939 = x_901;
} else {
 lean_dec_ref(x_901);
 x_939 = lean_box(0);
}
lean_inc(x_938);
if (lean_is_scalar(x_939)) {
 x_940 = lean_alloc_ctor(1, 1, 0);
} else {
 x_940 = x_939;
}
lean_ctor_set(x_940, 0, x_938);
x_14 = x_940;
x_15 = x_938;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_941; lean_object* x_942; lean_object* x_943; 
lean_dec(x_885);
lean_dec(x_883);
lean_dec(x_882);
lean_dec_ref(x_864);
lean_dec(x_854);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_941 = lean_ctor_get(x_886, 0);
lean_inc(x_941);
if (lean_is_exclusive(x_886)) {
 lean_ctor_release(x_886, 0);
 x_942 = x_886;
} else {
 lean_dec_ref(x_886);
 x_942 = lean_box(0);
}
lean_inc(x_941);
if (lean_is_scalar(x_942)) {
 x_943 = lean_alloc_ctor(1, 1, 0);
} else {
 x_943 = x_942;
}
lean_ctor_set(x_943, 0, x_941);
x_14 = x_943;
x_15 = x_941;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_944; lean_object* x_945; lean_object* x_946; 
lean_dec(x_883);
lean_dec(x_882);
lean_dec_ref(x_864);
lean_dec(x_854);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_944 = lean_ctor_get(x_884, 0);
lean_inc(x_944);
if (lean_is_exclusive(x_884)) {
 lean_ctor_release(x_884, 0);
 x_945 = x_884;
} else {
 lean_dec_ref(x_884);
 x_945 = lean_box(0);
}
lean_inc(x_944);
if (lean_is_scalar(x_945)) {
 x_946 = lean_alloc_ctor(1, 1, 0);
} else {
 x_946 = x_945;
}
lean_ctor_set(x_946, 0, x_944);
x_14 = x_946;
x_15 = x_944;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_947; 
lean_dec(x_880);
lean_dec_ref(x_864);
lean_dec(x_854);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_881)) {
 x_947 = lean_alloc_ctor(0, 1, 0);
} else {
 x_947 = x_881;
}
lean_ctor_set(x_947, 0, x_850);
return x_947;
}
}
else
{
lean_dec_ref(x_864);
lean_dec(x_854);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_20 = x_879;
goto block_22;
}
}
else
{
lean_object* x_948; 
lean_dec_ref(x_864);
lean_dec(x_854);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
lean_ctor_set(x_41, 0, x_872);
if (lean_is_scalar(x_877)) {
 x_948 = lean_alloc_ctor(0, 1, 0);
} else {
 x_948 = x_877;
}
lean_ctor_set(x_948, 0, x_41);
return x_948;
}
}
else
{
lean_object* x_949; lean_object* x_950; lean_object* x_951; 
lean_dec_ref(x_872);
lean_dec_ref(x_864);
lean_dec(x_854);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_949 = lean_ctor_get(x_875, 0);
lean_inc(x_949);
if (lean_is_exclusive(x_875)) {
 lean_ctor_release(x_875, 0);
 x_950 = x_875;
} else {
 lean_dec_ref(x_875);
 x_950 = lean_box(0);
}
lean_inc(x_949);
if (lean_is_scalar(x_950)) {
 x_951 = lean_alloc_ctor(1, 1, 0);
} else {
 x_951 = x_950;
}
lean_ctor_set(x_951, 0, x_949);
x_14 = x_951;
x_15 = x_949;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_952; lean_object* x_953; lean_object* x_954; 
lean_dec_ref(x_872);
lean_dec_ref(x_864);
lean_dec(x_854);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_952 = lean_ctor_get(x_873, 0);
lean_inc(x_952);
if (lean_is_exclusive(x_873)) {
 lean_ctor_release(x_873, 0);
 x_953 = x_873;
} else {
 lean_dec_ref(x_873);
 x_953 = lean_box(0);
}
lean_inc(x_952);
if (lean_is_scalar(x_953)) {
 x_954 = lean_alloc_ctor(1, 1, 0);
} else {
 x_954 = x_953;
}
lean_ctor_set(x_954, 0, x_952);
x_14 = x_954;
x_15 = x_952;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_955; lean_object* x_956; lean_object* x_957; 
lean_dec(x_858);
lean_dec(x_856);
lean_dec(x_854);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_955 = lean_ctor_get(x_859, 0);
lean_inc(x_955);
if (lean_is_exclusive(x_859)) {
 lean_ctor_release(x_859, 0);
 x_956 = x_859;
} else {
 lean_dec_ref(x_859);
 x_956 = lean_box(0);
}
lean_inc(x_955);
if (lean_is_scalar(x_956)) {
 x_957 = lean_alloc_ctor(1, 1, 0);
} else {
 x_957 = x_956;
}
lean_ctor_set(x_957, 0, x_955);
x_14 = x_957;
x_15 = x_955;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_958; lean_object* x_959; lean_object* x_960; 
lean_dec(x_856);
lean_dec(x_854);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_958 = lean_ctor_get(x_857, 0);
lean_inc(x_958);
if (lean_is_exclusive(x_857)) {
 lean_ctor_release(x_857, 0);
 x_959 = x_857;
} else {
 lean_dec_ref(x_857);
 x_959 = lean_box(0);
}
lean_inc(x_958);
if (lean_is_scalar(x_959)) {
 x_960 = lean_alloc_ctor(1, 1, 0);
} else {
 x_960 = x_959;
}
lean_ctor_set(x_960, 0, x_958);
x_14 = x_960;
x_15 = x_958;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_961; lean_object* x_962; lean_object* x_963; 
lean_dec(x_854);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_961 = lean_ctor_get(x_855, 0);
lean_inc(x_961);
if (lean_is_exclusive(x_855)) {
 lean_ctor_release(x_855, 0);
 x_962 = x_855;
} else {
 lean_dec_ref(x_855);
 x_962 = lean_box(0);
}
lean_inc(x_961);
if (lean_is_scalar(x_962)) {
 x_963 = lean_alloc_ctor(1, 1, 0);
} else {
 x_963 = x_962;
}
lean_ctor_set(x_963, 0, x_961);
x_14 = x_963;
x_15 = x_961;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_964; 
lean_dec(x_852);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_853)) {
 x_964 = lean_alloc_ctor(0, 1, 0);
} else {
 x_964 = x_853;
}
lean_ctor_set(x_964, 0, x_850);
return x_964;
}
}
else
{
lean_object* x_965; lean_object* x_966; lean_object* x_967; 
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_965 = lean_ctor_get(x_851, 0);
lean_inc(x_965);
if (lean_is_exclusive(x_851)) {
 lean_ctor_release(x_851, 0);
 x_966 = x_851;
} else {
 lean_dec_ref(x_851);
 x_966 = lean_box(0);
}
lean_inc(x_965);
if (lean_is_scalar(x_966)) {
 x_967 = lean_alloc_ctor(1, 1, 0);
} else {
 x_967 = x_966;
}
lean_ctor_set(x_967, 0, x_965);
x_14 = x_967;
x_15 = x_965;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_968; lean_object* x_969; lean_object* x_970; 
lean_dec(x_839);
lean_dec(x_831);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_968 = lean_ctor_get(x_840, 0);
lean_inc(x_968);
if (lean_is_exclusive(x_840)) {
 lean_ctor_release(x_840, 0);
 x_969 = x_840;
} else {
 lean_dec_ref(x_840);
 x_969 = lean_box(0);
}
lean_inc(x_968);
if (lean_is_scalar(x_969)) {
 x_970 = lean_alloc_ctor(1, 1, 0);
} else {
 x_970 = x_969;
}
lean_ctor_set(x_970, 0, x_968);
x_14 = x_970;
x_15 = x_968;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_971; lean_object* x_972; lean_object* x_973; 
lean_dec(x_831);
lean_dec(x_829);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_971 = lean_ctor_get(x_838, 0);
lean_inc(x_971);
if (lean_is_exclusive(x_838)) {
 lean_ctor_release(x_838, 0);
 x_972 = x_838;
} else {
 lean_dec_ref(x_838);
 x_972 = lean_box(0);
}
lean_inc(x_971);
if (lean_is_scalar(x_972)) {
 x_973 = lean_alloc_ctor(1, 1, 0);
} else {
 x_973 = x_972;
}
lean_ctor_set(x_973, 0, x_971);
x_14 = x_973;
x_15 = x_971;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_974; lean_object* x_975; 
lean_dec(x_831);
lean_dec(x_829);
lean_dec(x_821);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_974 = lean_box(0);
if (lean_is_scalar(x_836)) {
 x_975 = lean_alloc_ctor(0, 1, 0);
} else {
 x_975 = x_836;
}
lean_ctor_set(x_975, 0, x_974);
return x_975;
}
}
else
{
lean_object* x_976; lean_object* x_977; lean_object* x_978; 
lean_dec(x_831);
lean_dec(x_829);
lean_dec(x_821);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_976 = lean_ctor_get(x_834, 0);
lean_inc(x_976);
if (lean_is_exclusive(x_834)) {
 lean_ctor_release(x_834, 0);
 x_977 = x_834;
} else {
 lean_dec_ref(x_834);
 x_977 = lean_box(0);
}
lean_inc(x_976);
if (lean_is_scalar(x_977)) {
 x_978 = lean_alloc_ctor(1, 1, 0);
} else {
 x_978 = x_977;
}
lean_ctor_set(x_978, 0, x_976);
x_14 = x_978;
x_15 = x_976;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_979; lean_object* x_980; lean_object* x_981; 
lean_dec(x_831);
lean_dec(x_829);
lean_dec(x_821);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_979 = lean_ctor_get(x_832, 0);
lean_inc(x_979);
if (lean_is_exclusive(x_832)) {
 lean_ctor_release(x_832, 0);
 x_980 = x_832;
} else {
 lean_dec_ref(x_832);
 x_980 = lean_box(0);
}
lean_inc(x_979);
if (lean_is_scalar(x_980)) {
 x_981 = lean_alloc_ctor(1, 1, 0);
} else {
 x_981 = x_980;
}
lean_ctor_set(x_981, 0, x_979);
x_14 = x_981;
x_15 = x_979;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_982; lean_object* x_983; lean_object* x_984; 
lean_dec(x_829);
lean_dec(x_828);
lean_dec(x_821);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_982 = lean_ctor_get(x_830, 0);
lean_inc(x_982);
if (lean_is_exclusive(x_830)) {
 lean_ctor_release(x_830, 0);
 x_983 = x_830;
} else {
 lean_dec_ref(x_830);
 x_983 = lean_box(0);
}
lean_inc(x_982);
if (lean_is_scalar(x_983)) {
 x_984 = lean_alloc_ctor(1, 1, 0);
} else {
 x_984 = x_983;
}
lean_ctor_set(x_984, 0, x_982);
x_14 = x_984;
x_15 = x_982;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_985; 
lean_dec(x_821);
lean_dec(x_820);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_985 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_825, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_825);
x_20 = x_985;
goto block_22;
}
}
else
{
lean_object* x_986; 
lean_dec(x_821);
lean_dec(x_820);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_986 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_825, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_825);
x_20 = x_986;
goto block_22;
}
}
else
{
lean_object* x_987; 
lean_dec(x_821);
lean_dec(x_820);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_987 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_825, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_825);
x_20 = x_987;
goto block_22;
}
}
else
{
lean_object* x_988; lean_object* x_989; lean_object* x_990; 
lean_dec(x_821);
lean_dec(x_820);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_988 = lean_ctor_get(x_824, 0);
lean_inc(x_988);
if (lean_is_exclusive(x_824)) {
 lean_ctor_release(x_824, 0);
 x_989 = x_824;
} else {
 lean_dec_ref(x_824);
 x_989 = lean_box(0);
}
lean_inc(x_988);
if (lean_is_scalar(x_989)) {
 x_990 = lean_alloc_ctor(1, 1, 0);
} else {
 x_990 = x_989;
}
lean_ctor_set(x_990, 0, x_988);
x_14 = x_990;
x_15 = x_988;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_991; lean_object* x_992; lean_object* x_993; 
lean_dec(x_821);
lean_dec(x_820);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_991 = lean_ctor_get(x_822, 0);
lean_inc(x_991);
if (lean_is_exclusive(x_822)) {
 lean_ctor_release(x_822, 0);
 x_992 = x_822;
} else {
 lean_dec_ref(x_822);
 x_992 = lean_box(0);
}
lean_inc(x_991);
if (lean_is_scalar(x_992)) {
 x_993 = lean_alloc_ctor(1, 1, 0);
} else {
 x_993 = x_992;
}
lean_ctor_set(x_993, 0, x_991);
x_14 = x_993;
x_15 = x_991;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_994; 
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_994 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_817, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_817);
x_20 = x_994;
goto block_22;
}
}
else
{
lean_object* x_995; 
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_995 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_817, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_817);
x_20 = x_995;
goto block_22;
}
}
else
{
lean_object* x_996; 
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_996 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_817, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_817);
x_20 = x_996;
goto block_22;
}
}
else
{
lean_object* x_997; lean_object* x_998; lean_object* x_999; 
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_997 = lean_ctor_get(x_816, 0);
lean_inc(x_997);
if (lean_is_exclusive(x_816)) {
 lean_ctor_release(x_816, 0);
 x_998 = x_816;
} else {
 lean_dec_ref(x_816);
 x_998 = lean_box(0);
}
lean_inc(x_997);
if (lean_is_scalar(x_998)) {
 x_999 = lean_alloc_ctor(1, 1, 0);
} else {
 x_999 = x_998;
}
lean_ctor_set(x_999, 0, x_997);
x_14 = x_999;
x_15 = x_997;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; 
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1000 = lean_ctor_get(x_814, 0);
lean_inc(x_1000);
if (lean_is_exclusive(x_814)) {
 lean_ctor_release(x_814, 0);
 x_1001 = x_814;
} else {
 lean_dec_ref(x_814);
 x_1001 = lean_box(0);
}
lean_inc(x_1000);
if (lean_is_scalar(x_1001)) {
 x_1002 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1002 = x_1001;
}
lean_ctor_set(x_1002, 0, x_1000);
x_14 = x_1002;
x_15 = x_1000;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_object* x_1003; 
lean_free_object(x_43);
lean_free_object(x_35);
lean_dec(x_30);
lean_dec(x_25);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1003 = l_Lean_Meta_isMonad_x3f(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1003) == 0)
{
lean_object* x_1004; lean_object* x_1005; 
x_1004 = lean_ctor_get(x_1003, 0);
lean_inc(x_1004);
if (lean_is_exclusive(x_1003)) {
 lean_ctor_release(x_1003, 0);
 x_1005 = x_1003;
} else {
 lean_dec_ref(x_1003);
 x_1005 = lean_box(0);
}
if (lean_obj_tag(x_1004) == 1)
{
lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; uint8_t x_1010; lean_object* x_1019; lean_object* x_1020; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; 
x_1006 = l_Lean_Meta_coerceMonadLift_x3f___closed__15;
lean_ctor_set(x_41, 0, x_45);
lean_ctor_set(x_33, 0, x_46);
lean_ctor_set_tag(x_28, 1);
lean_ctor_set(x_28, 0, x_38);
x_1007 = lean_box(0);
lean_ctor_set_tag(x_23, 1);
lean_ctor_set(x_23, 0, x_1);
x_1024 = l_Lean_Meta_coerceMonadLift_x3f___closed__16;
x_1025 = lean_array_push(x_1024, x_41);
x_1026 = lean_array_push(x_1025, x_33);
x_1027 = lean_array_push(x_1026, x_28);
x_1028 = lean_array_push(x_1027, x_1007);
x_1029 = lean_array_push(x_1028, x_1004);
x_1030 = lean_array_push(x_1029, x_23);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1031 = l_Lean_Meta_mkAppOptM(x_1006, x_1030, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1031) == 0)
{
lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; 
x_1032 = lean_ctor_get(x_1031, 0);
lean_inc(x_1032);
if (lean_is_exclusive(x_1031)) {
 lean_ctor_release(x_1031, 0);
 x_1033 = x_1031;
} else {
 lean_dec_ref(x_1031);
 x_1033 = lean_box(0);
}
lean_inc(x_6);
lean_inc(x_4);
x_1034 = l_Lean_Meta_expandCoe(x_1032, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1034) == 0)
{
lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; 
lean_dec(x_1005);
lean_dec(x_48);
lean_dec(x_6);
lean_dec(x_4);
x_1035 = lean_ctor_get(x_1034, 0);
lean_inc(x_1035);
if (lean_is_exclusive(x_1034)) {
 lean_ctor_release(x_1034, 0);
 x_1036 = x_1034;
} else {
 lean_dec_ref(x_1034);
 x_1036 = lean_box(0);
}
if (lean_is_scalar(x_1033)) {
 x_1037 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1037 = x_1033;
 lean_ctor_set_tag(x_1037, 1);
}
lean_ctor_set(x_1037, 0, x_1035);
if (lean_is_scalar(x_1036)) {
 x_1038 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1038 = x_1036;
}
lean_ctor_set(x_1038, 0, x_1037);
return x_1038;
}
else
{
lean_object* x_1039; 
lean_dec(x_1033);
x_1039 = lean_ctor_get(x_1034, 0);
lean_inc(x_1039);
lean_dec_ref(x_1034);
x_1019 = x_1039;
x_1020 = lean_box(0);
goto block_1023;
}
}
else
{
lean_object* x_1040; 
lean_dec_ref(x_5);
lean_dec_ref(x_3);
x_1040 = lean_ctor_get(x_1031, 0);
lean_inc(x_1040);
lean_dec_ref(x_1031);
x_1019 = x_1040;
x_1020 = lean_box(0);
goto block_1023;
}
block_1018:
{
if (x_1010 == 0)
{
lean_object* x_1011; 
lean_dec_ref(x_1008);
lean_dec(x_1005);
x_1011 = l_Lean_Meta_SavedState_restore___redArg(x_48, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_48);
if (lean_obj_tag(x_1011) == 0)
{
lean_object* x_1012; lean_object* x_1013; 
if (lean_is_exclusive(x_1011)) {
 lean_ctor_release(x_1011, 0);
 x_1012 = x_1011;
} else {
 lean_dec_ref(x_1011);
 x_1012 = lean_box(0);
}
if (lean_is_scalar(x_1012)) {
 x_1013 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1013 = x_1012;
}
lean_ctor_set(x_1013, 0, x_1007);
return x_1013;
}
else
{
lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; 
x_1014 = lean_ctor_get(x_1011, 0);
lean_inc(x_1014);
if (lean_is_exclusive(x_1011)) {
 lean_ctor_release(x_1011, 0);
 x_1015 = x_1011;
} else {
 lean_dec_ref(x_1011);
 x_1015 = lean_box(0);
}
if (lean_is_scalar(x_1015)) {
 x_1016 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1016 = x_1015;
}
lean_ctor_set(x_1016, 0, x_1014);
return x_1016;
}
}
else
{
lean_object* x_1017; 
lean_dec(x_48);
lean_dec(x_6);
lean_dec(x_4);
if (lean_is_scalar(x_1005)) {
 x_1017 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1017 = x_1005;
 lean_ctor_set_tag(x_1017, 1);
}
lean_ctor_set(x_1017, 0, x_1008);
return x_1017;
}
}
block_1023:
{
uint8_t x_1021; 
x_1021 = l_Lean_Exception_isInterrupt(x_1019);
if (x_1021 == 0)
{
uint8_t x_1022; 
x_1022 = l_Lean_Exception_isRuntime(x_1019);
x_1008 = x_1019;
x_1009 = lean_box(0);
x_1010 = x_1022;
goto block_1018;
}
else
{
x_1008 = x_1019;
x_1009 = lean_box(0);
x_1010 = x_1021;
goto block_1018;
}
}
}
else
{
lean_object* x_1041; 
lean_dec(x_1005);
lean_dec(x_1004);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
lean_dec_ref(x_5);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1041 = l_Lean_Meta_SavedState_restore___redArg(x_48, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_48);
if (lean_obj_tag(x_1041) == 0)
{
lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; 
if (lean_is_exclusive(x_1041)) {
 lean_ctor_release(x_1041, 0);
 x_1042 = x_1041;
} else {
 lean_dec_ref(x_1041);
 x_1042 = lean_box(0);
}
x_1043 = lean_box(0);
if (lean_is_scalar(x_1042)) {
 x_1044 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1044 = x_1042;
}
lean_ctor_set(x_1044, 0, x_1043);
return x_1044;
}
else
{
lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; 
x_1045 = lean_ctor_get(x_1041, 0);
lean_inc(x_1045);
if (lean_is_exclusive(x_1041)) {
 lean_ctor_release(x_1041, 0);
 x_1046 = x_1041;
} else {
 lean_dec_ref(x_1041);
 x_1046 = lean_box(0);
}
if (lean_is_scalar(x_1046)) {
 x_1047 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1047 = x_1046;
}
lean_ctor_set(x_1047, 0, x_1045);
return x_1047;
}
}
}
else
{
lean_dec(x_48);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_dec(x_38);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
return x_1003;
}
}
}
}
else
{
uint8_t x_1048; 
lean_dec(x_48);
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_free_object(x_33);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1048 = !lean_is_exclusive(x_49);
if (x_1048 == 0)
{
return x_49;
}
else
{
lean_object* x_1049; lean_object* x_1050; 
x_1049 = lean_ctor_get(x_49, 0);
lean_inc(x_1049);
lean_dec(x_49);
x_1050 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1050, 0, x_1049);
return x_1050;
}
}
}
else
{
uint8_t x_1051; 
lean_free_object(x_43);
lean_dec(x_46);
lean_dec(x_45);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_free_object(x_33);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1051 = !lean_is_exclusive(x_47);
if (x_1051 == 0)
{
return x_47;
}
else
{
lean_object* x_1052; lean_object* x_1053; 
x_1052 = lean_ctor_get(x_47, 0);
lean_inc(x_1052);
lean_dec(x_47);
x_1053 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1053, 0, x_1052);
return x_1053;
}
}
}
else
{
lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; 
x_1054 = lean_ctor_get(x_43, 0);
x_1055 = lean_ctor_get(x_43, 1);
lean_inc(x_1055);
lean_inc(x_1054);
lean_dec(x_43);
x_1056 = l_Lean_Meta_saveState___redArg(x_4, x_6);
if (lean_obj_tag(x_1056) == 0)
{
lean_object* x_1057; lean_object* x_1058; 
x_1057 = lean_ctor_get(x_1056, 0);
lean_inc(x_1057);
lean_dec_ref(x_1056);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
lean_inc(x_1054);
x_1058 = l_Lean_Meta_isExprDefEq(x_1054, x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1058) == 0)
{
lean_object* x_1059; lean_object* x_1060; uint8_t x_1061; 
x_1059 = lean_ctor_get(x_1058, 0);
lean_inc(x_1059);
if (lean_is_exclusive(x_1058)) {
 lean_ctor_release(x_1058, 0);
 x_1060 = x_1058;
} else {
 lean_dec_ref(x_1058);
 x_1060 = lean_box(0);
}
x_1061 = lean_unbox(x_1059);
lean_dec(x_1059);
if (x_1061 == 0)
{
lean_object* x_1062; lean_object* x_1063; uint8_t x_1064; 
lean_dec(x_1057);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
x_1062 = lean_ctor_get(x_5, 2);
x_1063 = l_Lean_Meta_coerceMonadLift_x3f___closed__0;
x_1064 = l_Lean_Option_get___at___00Lean_Meta_coerceMonadLift_x3f_spec__0(x_1062, x_1063);
if (x_1064 == 0)
{
lean_object* x_1065; lean_object* x_1066; 
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1065 = lean_box(0);
if (lean_is_scalar(x_1060)) {
 x_1066 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1066 = x_1060;
}
lean_ctor_set(x_1066, 0, x_1065);
return x_1066;
}
else
{
lean_object* x_1067; 
lean_dec(x_1060);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1054);
x_1067 = lean_infer_type(x_1054, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1067) == 0)
{
lean_object* x_1068; lean_object* x_1069; 
x_1068 = lean_ctor_get(x_1067, 0);
lean_inc(x_1068);
lean_dec_ref(x_1067);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1069 = lean_whnf(x_1068, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1069) == 0)
{
lean_object* x_1070; 
x_1070 = lean_ctor_get(x_1069, 0);
lean_inc(x_1070);
lean_dec_ref(x_1069);
if (lean_obj_tag(x_1070) == 7)
{
lean_object* x_1071; 
x_1071 = lean_ctor_get(x_1070, 1);
if (lean_obj_tag(x_1071) == 3)
{
lean_object* x_1072; 
x_1072 = lean_ctor_get(x_1070, 2);
if (lean_obj_tag(x_1072) == 3)
{
lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; 
lean_inc_ref(x_1072);
lean_inc_ref(x_1071);
lean_dec_ref(x_1070);
x_1073 = lean_ctor_get(x_1071, 0);
lean_inc(x_1073);
lean_dec_ref(x_1071);
x_1074 = lean_ctor_get(x_1072, 0);
lean_inc(x_1074);
lean_dec_ref(x_1072);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
x_1075 = lean_infer_type(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1075) == 0)
{
lean_object* x_1076; lean_object* x_1077; 
x_1076 = lean_ctor_get(x_1075, 0);
lean_inc(x_1076);
lean_dec_ref(x_1075);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1077 = lean_whnf(x_1076, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1077) == 0)
{
lean_object* x_1078; 
x_1078 = lean_ctor_get(x_1077, 0);
lean_inc(x_1078);
lean_dec_ref(x_1077);
if (lean_obj_tag(x_1078) == 7)
{
lean_object* x_1079; 
x_1079 = lean_ctor_get(x_1078, 1);
if (lean_obj_tag(x_1079) == 3)
{
lean_object* x_1080; 
x_1080 = lean_ctor_get(x_1078, 2);
if (lean_obj_tag(x_1080) == 3)
{
lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; 
lean_inc_ref(x_1080);
lean_inc_ref(x_1079);
lean_dec_ref(x_1078);
x_1081 = lean_ctor_get(x_1079, 0);
lean_inc(x_1081);
lean_dec_ref(x_1079);
x_1082 = lean_ctor_get(x_1080, 0);
lean_inc(x_1082);
lean_dec_ref(x_1080);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1083 = l_Lean_Meta_decLevel(x_1073, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1083) == 0)
{
lean_object* x_1084; lean_object* x_1085; 
x_1084 = lean_ctor_get(x_1083, 0);
lean_inc(x_1084);
lean_dec_ref(x_1083);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1085 = l_Lean_Meta_decLevel(x_1081, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1085) == 0)
{
lean_object* x_1086; lean_object* x_1087; 
x_1086 = lean_ctor_get(x_1085, 0);
lean_inc(x_1086);
lean_dec_ref(x_1085);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1084);
x_1087 = l_Lean_Meta_isLevelDefEq(x_1084, x_1086, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1087) == 0)
{
lean_object* x_1088; lean_object* x_1089; uint8_t x_1090; 
x_1088 = lean_ctor_get(x_1087, 0);
lean_inc(x_1088);
if (lean_is_exclusive(x_1087)) {
 lean_ctor_release(x_1087, 0);
 x_1089 = x_1087;
} else {
 lean_dec_ref(x_1087);
 x_1089 = lean_box(0);
}
x_1090 = lean_unbox(x_1088);
lean_dec(x_1088);
if (x_1090 == 1)
{
lean_object* x_1091; 
lean_dec(x_1089);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1091 = l_Lean_Meta_decLevel(x_1074, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1091) == 0)
{
lean_object* x_1092; lean_object* x_1093; 
x_1092 = lean_ctor_get(x_1091, 0);
lean_inc(x_1092);
lean_dec_ref(x_1091);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1093 = l_Lean_Meta_decLevel(x_1082, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1093) == 0)
{
lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; 
x_1094 = lean_ctor_get(x_1093, 0);
lean_inc(x_1094);
lean_dec_ref(x_1093);
x_1095 = l_Lean_Meta_coerceMonadLift_x3f___closed__2;
x_1096 = lean_box(0);
x_1097 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1097, 0, x_1094);
lean_ctor_set(x_1097, 1, x_1096);
lean_ctor_set_tag(x_35, 1);
lean_ctor_set(x_35, 1, x_1097);
lean_ctor_set(x_35, 0, x_1092);
x_1098 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1098, 0, x_1084);
lean_ctor_set(x_1098, 1, x_35);
x_1099 = l_Lean_Expr_const___override(x_1095, x_1098);
x_1100 = l_Lean_Meta_coerceMonadLift_x3f___closed__3;
lean_inc(x_1054);
x_1101 = lean_array_push(x_1100, x_1054);
lean_inc(x_37);
x_1102 = lean_array_push(x_1101, x_37);
x_1103 = l_Lean_mkAppN(x_1099, x_1102);
lean_dec_ref(x_1102);
x_1104 = lean_box(0);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1105 = l_Lean_Meta_trySynthInstance(x_1103, x_1104, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1105) == 0)
{
lean_object* x_1106; lean_object* x_1107; 
x_1106 = lean_ctor_get(x_1105, 0);
lean_inc(x_1106);
if (lean_is_exclusive(x_1105)) {
 lean_ctor_release(x_1105, 0);
 x_1107 = x_1105;
} else {
 lean_dec_ref(x_1105);
 x_1107 = lean_box(0);
}
if (lean_obj_tag(x_1106) == 1)
{
lean_object* x_1108; lean_object* x_1109; 
lean_dec(x_1107);
x_1108 = lean_ctor_get(x_1106, 0);
lean_inc(x_1108);
lean_dec_ref(x_1106);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1055);
x_1109 = l_Lean_Meta_getDecLevel(x_1055, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1109) == 0)
{
lean_object* x_1110; lean_object* x_1111; 
x_1110 = lean_ctor_get(x_1109, 0);
lean_inc(x_1110);
lean_dec_ref(x_1109);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1111 = l_Lean_Meta_getDecLevel(x_30, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1111) == 0)
{
lean_object* x_1112; lean_object* x_1113; 
x_1112 = lean_ctor_get(x_1111, 0);
lean_inc(x_1112);
lean_dec_ref(x_1111);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_1113 = l_Lean_Meta_getDecLevel(x_25, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1113) == 0)
{
lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; 
x_1114 = lean_ctor_get(x_1113, 0);
lean_inc(x_1114);
lean_dec_ref(x_1113);
x_1115 = l_Lean_Meta_coerceMonadLift_x3f___closed__5;
x_1116 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1116, 0, x_1114);
lean_ctor_set(x_1116, 1, x_1096);
x_1117 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1117, 0, x_1112);
lean_ctor_set(x_1117, 1, x_1116);
x_1118 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1118, 0, x_1110);
lean_ctor_set(x_1118, 1, x_1117);
lean_inc_ref(x_1118);
x_1119 = l_Lean_mkConst(x_1115, x_1118);
x_1120 = l_Lean_Meta_coerceMonadLift_x3f___closed__6;
lean_inc(x_1054);
x_1121 = lean_array_push(x_1120, x_1054);
lean_inc(x_37);
x_1122 = lean_array_push(x_1121, x_37);
lean_inc(x_1108);
x_1123 = lean_array_push(x_1122, x_1108);
lean_inc(x_1055);
x_1124 = lean_array_push(x_1123, x_1055);
lean_inc_ref(x_1);
x_1125 = lean_array_push(x_1124, x_1);
x_1126 = l_Lean_mkAppN(x_1119, x_1125);
lean_dec_ref(x_1125);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_1126);
x_1127 = lean_infer_type(x_1126, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1127) == 0)
{
lean_object* x_1128; lean_object* x_1129; 
x_1128 = lean_ctor_get(x_1127, 0);
lean_inc(x_1128);
lean_dec_ref(x_1127);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_1129 = l_Lean_Meta_isExprDefEq(x_25, x_1128, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1129) == 0)
{
lean_object* x_1130; lean_object* x_1131; uint8_t x_1132; 
x_1130 = lean_ctor_get(x_1129, 0);
lean_inc(x_1130);
if (lean_is_exclusive(x_1129)) {
 lean_ctor_release(x_1129, 0);
 x_1131 = x_1129;
} else {
 lean_dec_ref(x_1129);
 x_1131 = lean_box(0);
}
x_1132 = lean_unbox(x_1130);
lean_dec(x_1130);
if (x_1132 == 0)
{
lean_object* x_1133; 
lean_dec(x_1131);
lean_dec_ref(x_1126);
lean_free_object(x_41);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
x_1133 = l_Lean_Meta_isMonad_x3f(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1133) == 0)
{
lean_object* x_1134; lean_object* x_1135; 
x_1134 = lean_ctor_get(x_1133, 0);
lean_inc(x_1134);
if (lean_is_exclusive(x_1133)) {
 lean_ctor_release(x_1133, 0);
 x_1135 = x_1133;
} else {
 lean_dec_ref(x_1133);
 x_1135 = lean_box(0);
}
if (lean_obj_tag(x_1134) == 1)
{
lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; 
lean_dec(x_1135);
x_1136 = lean_ctor_get(x_1134, 0);
lean_inc(x_1136);
if (lean_is_exclusive(x_1134)) {
 lean_ctor_release(x_1134, 0);
 x_1137 = x_1134;
} else {
 lean_dec_ref(x_1134);
 x_1137 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1055);
x_1138 = l_Lean_Meta_getLevel(x_1055, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1138) == 0)
{
lean_object* x_1139; lean_object* x_1140; 
x_1139 = lean_ctor_get(x_1138, 0);
lean_inc(x_1139);
lean_dec_ref(x_1138);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_38);
x_1140 = l_Lean_Meta_getLevel(x_38, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1140) == 0)
{
lean_object* x_1141; lean_object* x_1142; uint8_t x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; 
x_1141 = lean_ctor_get(x_1140, 0);
lean_inc(x_1141);
lean_dec_ref(x_1140);
x_1142 = l_Lean_Meta_coerceMonadLift_x3f___closed__8;
x_1143 = 0;
x_1144 = l_Lean_Meta_coerceSimple_x3f___closed__1;
x_1145 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1145, 0, x_1141);
lean_ctor_set(x_1145, 1, x_1096);
x_1146 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1146, 0, x_1139);
lean_ctor_set(x_1146, 1, x_1145);
x_1147 = l_Lean_mkConst(x_1144, x_1146);
x_1148 = l_Lean_Meta_coerceMonadLift_x3f___closed__9;
x_1149 = l_Lean_Meta_coerceSimple_x3f___closed__2;
lean_inc(x_1055);
x_1150 = lean_array_push(x_1149, x_1055);
x_1151 = lean_array_push(x_1150, x_1148);
lean_inc(x_38);
x_1152 = lean_array_push(x_1151, x_38);
x_1153 = l_Lean_mkAppN(x_1147, x_1152);
lean_dec_ref(x_1152);
lean_inc(x_1055);
x_1154 = l_Lean_mkForall(x_1142, x_1143, x_1055, x_1153);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1155 = l_Lean_Meta_trySynthInstance(x_1154, x_1104, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1155) == 0)
{
lean_object* x_1156; lean_object* x_1157; 
x_1156 = lean_ctor_get(x_1155, 0);
lean_inc(x_1156);
if (lean_is_exclusive(x_1155)) {
 lean_ctor_release(x_1155, 0);
 x_1157 = x_1155;
} else {
 lean_dec_ref(x_1155);
 x_1157 = lean_box(0);
}
if (lean_obj_tag(x_1156) == 1)
{
lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; 
lean_dec(x_1157);
x_1158 = lean_ctor_get(x_1156, 0);
lean_inc(x_1158);
lean_dec_ref(x_1156);
x_1159 = l_Lean_Meta_coerceMonadLift_x3f___closed__12;
x_1160 = l_Lean_mkConst(x_1159, x_1118);
x_1161 = l_Lean_Meta_coerceMonadLift_x3f___closed__13;
x_1162 = lean_array_push(x_1161, x_1054);
x_1163 = lean_array_push(x_1162, x_37);
x_1164 = lean_array_push(x_1163, x_1055);
x_1165 = lean_array_push(x_1164, x_38);
x_1166 = lean_array_push(x_1165, x_1108);
x_1167 = lean_array_push(x_1166, x_1158);
x_1168 = lean_array_push(x_1167, x_1136);
x_1169 = lean_array_push(x_1168, x_1);
x_1170 = l_Lean_mkAppN(x_1160, x_1169);
lean_dec_ref(x_1169);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1171 = l_Lean_Meta_expandCoe(x_1170, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1171) == 0)
{
lean_object* x_1172; lean_object* x_1173; 
x_1172 = lean_ctor_get(x_1171, 0);
lean_inc(x_1172);
lean_dec_ref(x_1171);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1172);
x_1173 = lean_infer_type(x_1172, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1173) == 0)
{
lean_object* x_1174; lean_object* x_1175; 
x_1174 = lean_ctor_get(x_1173, 0);
lean_inc(x_1174);
lean_dec_ref(x_1173);
x_1175 = l_Lean_Meta_isExprDefEq(x_25, x_1174, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1175) == 0)
{
lean_object* x_1176; lean_object* x_1177; uint8_t x_1178; 
x_1176 = lean_ctor_get(x_1175, 0);
lean_inc(x_1176);
if (lean_is_exclusive(x_1175)) {
 lean_ctor_release(x_1175, 0);
 x_1177 = x_1175;
} else {
 lean_dec_ref(x_1175);
 x_1177 = lean_box(0);
}
x_1178 = lean_unbox(x_1176);
lean_dec(x_1176);
if (x_1178 == 0)
{
lean_object* x_1179; 
lean_dec(x_1172);
lean_dec(x_1137);
if (lean_is_scalar(x_1177)) {
 x_1179 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1179 = x_1177;
}
lean_ctor_set(x_1179, 0, x_1104);
return x_1179;
}
else
{
lean_object* x_1180; lean_object* x_1181; 
if (lean_is_scalar(x_1137)) {
 x_1180 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1180 = x_1137;
}
lean_ctor_set(x_1180, 0, x_1172);
if (lean_is_scalar(x_1177)) {
 x_1181 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1181 = x_1177;
}
lean_ctor_set(x_1181, 0, x_1180);
return x_1181;
}
}
else
{
lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; 
lean_dec(x_1172);
lean_dec(x_1137);
x_1182 = lean_ctor_get(x_1175, 0);
lean_inc(x_1182);
if (lean_is_exclusive(x_1175)) {
 lean_ctor_release(x_1175, 0);
 x_1183 = x_1175;
} else {
 lean_dec_ref(x_1175);
 x_1183 = lean_box(0);
}
lean_inc(x_1182);
if (lean_is_scalar(x_1183)) {
 x_1184 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1184 = x_1183;
}
lean_ctor_set(x_1184, 0, x_1182);
x_14 = x_1184;
x_15 = x_1182;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; 
lean_dec(x_1172);
lean_dec(x_1137);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_1185 = lean_ctor_get(x_1173, 0);
lean_inc(x_1185);
if (lean_is_exclusive(x_1173)) {
 lean_ctor_release(x_1173, 0);
 x_1186 = x_1173;
} else {
 lean_dec_ref(x_1173);
 x_1186 = lean_box(0);
}
lean_inc(x_1185);
if (lean_is_scalar(x_1186)) {
 x_1187 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1187 = x_1186;
}
lean_ctor_set(x_1187, 0, x_1185);
x_14 = x_1187;
x_15 = x_1185;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; 
lean_dec(x_1137);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_1188 = lean_ctor_get(x_1171, 0);
lean_inc(x_1188);
if (lean_is_exclusive(x_1171)) {
 lean_ctor_release(x_1171, 0);
 x_1189 = x_1171;
} else {
 lean_dec_ref(x_1171);
 x_1189 = lean_box(0);
}
lean_inc(x_1188);
if (lean_is_scalar(x_1189)) {
 x_1190 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1190 = x_1189;
}
lean_ctor_set(x_1190, 0, x_1188);
x_14 = x_1190;
x_15 = x_1188;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1191; 
lean_dec(x_1156);
lean_dec(x_1137);
lean_dec(x_1136);
lean_dec_ref(x_1118);
lean_dec(x_1108);
lean_dec(x_1055);
lean_dec(x_1054);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_1157)) {
 x_1191 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1191 = x_1157;
}
lean_ctor_set(x_1191, 0, x_1104);
return x_1191;
}
}
else
{
lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; 
lean_dec(x_1137);
lean_dec(x_1136);
lean_dec_ref(x_1118);
lean_dec(x_1108);
lean_dec(x_1055);
lean_dec(x_1054);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1192 = lean_ctor_get(x_1155, 0);
lean_inc(x_1192);
if (lean_is_exclusive(x_1155)) {
 lean_ctor_release(x_1155, 0);
 x_1193 = x_1155;
} else {
 lean_dec_ref(x_1155);
 x_1193 = lean_box(0);
}
lean_inc(x_1192);
if (lean_is_scalar(x_1193)) {
 x_1194 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1194 = x_1193;
}
lean_ctor_set(x_1194, 0, x_1192);
x_14 = x_1194;
x_15 = x_1192;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; 
lean_dec(x_1139);
lean_dec(x_1137);
lean_dec(x_1136);
lean_dec_ref(x_1118);
lean_dec(x_1108);
lean_dec(x_1055);
lean_dec(x_1054);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1195 = lean_ctor_get(x_1140, 0);
lean_inc(x_1195);
if (lean_is_exclusive(x_1140)) {
 lean_ctor_release(x_1140, 0);
 x_1196 = x_1140;
} else {
 lean_dec_ref(x_1140);
 x_1196 = lean_box(0);
}
lean_inc(x_1195);
if (lean_is_scalar(x_1196)) {
 x_1197 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1197 = x_1196;
}
lean_ctor_set(x_1197, 0, x_1195);
x_14 = x_1197;
x_15 = x_1195;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; 
lean_dec(x_1137);
lean_dec(x_1136);
lean_dec_ref(x_1118);
lean_dec(x_1108);
lean_dec(x_1055);
lean_dec(x_1054);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1198 = lean_ctor_get(x_1138, 0);
lean_inc(x_1198);
if (lean_is_exclusive(x_1138)) {
 lean_ctor_release(x_1138, 0);
 x_1199 = x_1138;
} else {
 lean_dec_ref(x_1138);
 x_1199 = lean_box(0);
}
lean_inc(x_1198);
if (lean_is_scalar(x_1199)) {
 x_1200 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1200 = x_1199;
}
lean_ctor_set(x_1200, 0, x_1198);
x_14 = x_1200;
x_15 = x_1198;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1201; 
lean_dec(x_1134);
lean_dec_ref(x_1118);
lean_dec(x_1108);
lean_dec(x_1055);
lean_dec(x_1054);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_1135)) {
 x_1201 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1201 = x_1135;
}
lean_ctor_set(x_1201, 0, x_1104);
return x_1201;
}
}
else
{
lean_dec_ref(x_1118);
lean_dec(x_1108);
lean_dec(x_1055);
lean_dec(x_1054);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_20 = x_1133;
goto block_22;
}
}
else
{
lean_object* x_1202; 
lean_dec_ref(x_1118);
lean_dec(x_1108);
lean_dec(x_1055);
lean_dec(x_1054);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
lean_ctor_set(x_41, 0, x_1126);
if (lean_is_scalar(x_1131)) {
 x_1202 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1202 = x_1131;
}
lean_ctor_set(x_1202, 0, x_41);
return x_1202;
}
}
else
{
lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; 
lean_dec_ref(x_1126);
lean_dec_ref(x_1118);
lean_dec(x_1108);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1203 = lean_ctor_get(x_1129, 0);
lean_inc(x_1203);
if (lean_is_exclusive(x_1129)) {
 lean_ctor_release(x_1129, 0);
 x_1204 = x_1129;
} else {
 lean_dec_ref(x_1129);
 x_1204 = lean_box(0);
}
lean_inc(x_1203);
if (lean_is_scalar(x_1204)) {
 x_1205 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1205 = x_1204;
}
lean_ctor_set(x_1205, 0, x_1203);
x_14 = x_1205;
x_15 = x_1203;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; 
lean_dec_ref(x_1126);
lean_dec_ref(x_1118);
lean_dec(x_1108);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1206 = lean_ctor_get(x_1127, 0);
lean_inc(x_1206);
if (lean_is_exclusive(x_1127)) {
 lean_ctor_release(x_1127, 0);
 x_1207 = x_1127;
} else {
 lean_dec_ref(x_1127);
 x_1207 = lean_box(0);
}
lean_inc(x_1206);
if (lean_is_scalar(x_1207)) {
 x_1208 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1208 = x_1207;
}
lean_ctor_set(x_1208, 0, x_1206);
x_14 = x_1208;
x_15 = x_1206;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; 
lean_dec(x_1112);
lean_dec(x_1110);
lean_dec(x_1108);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1209 = lean_ctor_get(x_1113, 0);
lean_inc(x_1209);
if (lean_is_exclusive(x_1113)) {
 lean_ctor_release(x_1113, 0);
 x_1210 = x_1113;
} else {
 lean_dec_ref(x_1113);
 x_1210 = lean_box(0);
}
lean_inc(x_1209);
if (lean_is_scalar(x_1210)) {
 x_1211 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1211 = x_1210;
}
lean_ctor_set(x_1211, 0, x_1209);
x_14 = x_1211;
x_15 = x_1209;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; 
lean_dec(x_1110);
lean_dec(x_1108);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1212 = lean_ctor_get(x_1111, 0);
lean_inc(x_1212);
if (lean_is_exclusive(x_1111)) {
 lean_ctor_release(x_1111, 0);
 x_1213 = x_1111;
} else {
 lean_dec_ref(x_1111);
 x_1213 = lean_box(0);
}
lean_inc(x_1212);
if (lean_is_scalar(x_1213)) {
 x_1214 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1214 = x_1213;
}
lean_ctor_set(x_1214, 0, x_1212);
x_14 = x_1214;
x_15 = x_1212;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; 
lean_dec(x_1108);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1215 = lean_ctor_get(x_1109, 0);
lean_inc(x_1215);
if (lean_is_exclusive(x_1109)) {
 lean_ctor_release(x_1109, 0);
 x_1216 = x_1109;
} else {
 lean_dec_ref(x_1109);
 x_1216 = lean_box(0);
}
lean_inc(x_1215);
if (lean_is_scalar(x_1216)) {
 x_1217 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1217 = x_1216;
}
lean_ctor_set(x_1217, 0, x_1215);
x_14 = x_1217;
x_15 = x_1215;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1218; 
lean_dec(x_1106);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_1107)) {
 x_1218 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1218 = x_1107;
}
lean_ctor_set(x_1218, 0, x_1104);
return x_1218;
}
}
else
{
lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; 
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1219 = lean_ctor_get(x_1105, 0);
lean_inc(x_1219);
if (lean_is_exclusive(x_1105)) {
 lean_ctor_release(x_1105, 0);
 x_1220 = x_1105;
} else {
 lean_dec_ref(x_1105);
 x_1220 = lean_box(0);
}
lean_inc(x_1219);
if (lean_is_scalar(x_1220)) {
 x_1221 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1221 = x_1220;
}
lean_ctor_set(x_1221, 0, x_1219);
x_14 = x_1221;
x_15 = x_1219;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; 
lean_dec(x_1092);
lean_dec(x_1084);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1222 = lean_ctor_get(x_1093, 0);
lean_inc(x_1222);
if (lean_is_exclusive(x_1093)) {
 lean_ctor_release(x_1093, 0);
 x_1223 = x_1093;
} else {
 lean_dec_ref(x_1093);
 x_1223 = lean_box(0);
}
lean_inc(x_1222);
if (lean_is_scalar(x_1223)) {
 x_1224 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1224 = x_1223;
}
lean_ctor_set(x_1224, 0, x_1222);
x_14 = x_1224;
x_15 = x_1222;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; 
lean_dec(x_1084);
lean_dec(x_1082);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1225 = lean_ctor_get(x_1091, 0);
lean_inc(x_1225);
if (lean_is_exclusive(x_1091)) {
 lean_ctor_release(x_1091, 0);
 x_1226 = x_1091;
} else {
 lean_dec_ref(x_1091);
 x_1226 = lean_box(0);
}
lean_inc(x_1225);
if (lean_is_scalar(x_1226)) {
 x_1227 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1227 = x_1226;
}
lean_ctor_set(x_1227, 0, x_1225);
x_14 = x_1227;
x_15 = x_1225;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1228; lean_object* x_1229; 
lean_dec(x_1084);
lean_dec(x_1082);
lean_dec(x_1074);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1228 = lean_box(0);
if (lean_is_scalar(x_1089)) {
 x_1229 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1229 = x_1089;
}
lean_ctor_set(x_1229, 0, x_1228);
return x_1229;
}
}
else
{
lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; 
lean_dec(x_1084);
lean_dec(x_1082);
lean_dec(x_1074);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1230 = lean_ctor_get(x_1087, 0);
lean_inc(x_1230);
if (lean_is_exclusive(x_1087)) {
 lean_ctor_release(x_1087, 0);
 x_1231 = x_1087;
} else {
 lean_dec_ref(x_1087);
 x_1231 = lean_box(0);
}
lean_inc(x_1230);
if (lean_is_scalar(x_1231)) {
 x_1232 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1232 = x_1231;
}
lean_ctor_set(x_1232, 0, x_1230);
x_14 = x_1232;
x_15 = x_1230;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; 
lean_dec(x_1084);
lean_dec(x_1082);
lean_dec(x_1074);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1233 = lean_ctor_get(x_1085, 0);
lean_inc(x_1233);
if (lean_is_exclusive(x_1085)) {
 lean_ctor_release(x_1085, 0);
 x_1234 = x_1085;
} else {
 lean_dec_ref(x_1085);
 x_1234 = lean_box(0);
}
lean_inc(x_1233);
if (lean_is_scalar(x_1234)) {
 x_1235 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1235 = x_1234;
}
lean_ctor_set(x_1235, 0, x_1233);
x_14 = x_1235;
x_15 = x_1233;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; 
lean_dec(x_1082);
lean_dec(x_1081);
lean_dec(x_1074);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1236 = lean_ctor_get(x_1083, 0);
lean_inc(x_1236);
if (lean_is_exclusive(x_1083)) {
 lean_ctor_release(x_1083, 0);
 x_1237 = x_1083;
} else {
 lean_dec_ref(x_1083);
 x_1237 = lean_box(0);
}
lean_inc(x_1236);
if (lean_is_scalar(x_1237)) {
 x_1238 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1238 = x_1237;
}
lean_ctor_set(x_1238, 0, x_1236);
x_14 = x_1238;
x_15 = x_1236;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1239; 
lean_dec(x_1074);
lean_dec(x_1073);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1239 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1078, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1078);
x_20 = x_1239;
goto block_22;
}
}
else
{
lean_object* x_1240; 
lean_dec(x_1074);
lean_dec(x_1073);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1240 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1078, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1078);
x_20 = x_1240;
goto block_22;
}
}
else
{
lean_object* x_1241; 
lean_dec(x_1074);
lean_dec(x_1073);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1241 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1078, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_1078);
x_20 = x_1241;
goto block_22;
}
}
else
{
lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; 
lean_dec(x_1074);
lean_dec(x_1073);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1242 = lean_ctor_get(x_1077, 0);
lean_inc(x_1242);
if (lean_is_exclusive(x_1077)) {
 lean_ctor_release(x_1077, 0);
 x_1243 = x_1077;
} else {
 lean_dec_ref(x_1077);
 x_1243 = lean_box(0);
}
lean_inc(x_1242);
if (lean_is_scalar(x_1243)) {
 x_1244 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1244 = x_1243;
}
lean_ctor_set(x_1244, 0, x_1242);
x_14 = x_1244;
x_15 = x_1242;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; 
lean_dec(x_1074);
lean_dec(x_1073);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1245 = lean_ctor_get(x_1075, 0);
lean_inc(x_1245);
if (lean_is_exclusive(x_1075)) {
 lean_ctor_release(x_1075, 0);
 x_1246 = x_1075;
} else {
 lean_dec_ref(x_1075);
 x_1246 = lean_box(0);
}
lean_inc(x_1245);
if (lean_is_scalar(x_1246)) {
 x_1247 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1247 = x_1246;
}
lean_ctor_set(x_1247, 0, x_1245);
x_14 = x_1247;
x_15 = x_1245;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1248; 
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1248 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1070, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1070);
x_20 = x_1248;
goto block_22;
}
}
else
{
lean_object* x_1249; 
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1249 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1070, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1070);
x_20 = x_1249;
goto block_22;
}
}
else
{
lean_object* x_1250; 
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1250 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1070, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_1070);
x_20 = x_1250;
goto block_22;
}
}
else
{
lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; 
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1251 = lean_ctor_get(x_1069, 0);
lean_inc(x_1251);
if (lean_is_exclusive(x_1069)) {
 lean_ctor_release(x_1069, 0);
 x_1252 = x_1069;
} else {
 lean_dec_ref(x_1069);
 x_1252 = lean_box(0);
}
lean_inc(x_1251);
if (lean_is_scalar(x_1252)) {
 x_1253 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1253 = x_1252;
}
lean_ctor_set(x_1253, 0, x_1251);
x_14 = x_1253;
x_15 = x_1251;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; 
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1254 = lean_ctor_get(x_1067, 0);
lean_inc(x_1254);
if (lean_is_exclusive(x_1067)) {
 lean_ctor_release(x_1067, 0);
 x_1255 = x_1067;
} else {
 lean_dec_ref(x_1067);
 x_1255 = lean_box(0);
}
lean_inc(x_1254);
if (lean_is_scalar(x_1255)) {
 x_1256 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1256 = x_1255;
}
lean_ctor_set(x_1256, 0, x_1254);
x_14 = x_1256;
x_15 = x_1254;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_object* x_1257; 
lean_dec(x_1060);
lean_free_object(x_35);
lean_dec(x_30);
lean_dec(x_25);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1257 = l_Lean_Meta_isMonad_x3f(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1257) == 0)
{
lean_object* x_1258; lean_object* x_1259; 
x_1258 = lean_ctor_get(x_1257, 0);
lean_inc(x_1258);
if (lean_is_exclusive(x_1257)) {
 lean_ctor_release(x_1257, 0);
 x_1259 = x_1257;
} else {
 lean_dec_ref(x_1257);
 x_1259 = lean_box(0);
}
if (lean_obj_tag(x_1258) == 1)
{
lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; uint8_t x_1264; lean_object* x_1273; lean_object* x_1274; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; 
x_1260 = l_Lean_Meta_coerceMonadLift_x3f___closed__15;
lean_ctor_set(x_41, 0, x_1054);
lean_ctor_set(x_33, 0, x_1055);
lean_ctor_set_tag(x_28, 1);
lean_ctor_set(x_28, 0, x_38);
x_1261 = lean_box(0);
lean_ctor_set_tag(x_23, 1);
lean_ctor_set(x_23, 0, x_1);
x_1278 = l_Lean_Meta_coerceMonadLift_x3f___closed__16;
x_1279 = lean_array_push(x_1278, x_41);
x_1280 = lean_array_push(x_1279, x_33);
x_1281 = lean_array_push(x_1280, x_28);
x_1282 = lean_array_push(x_1281, x_1261);
x_1283 = lean_array_push(x_1282, x_1258);
x_1284 = lean_array_push(x_1283, x_23);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1285 = l_Lean_Meta_mkAppOptM(x_1260, x_1284, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1285) == 0)
{
lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; 
x_1286 = lean_ctor_get(x_1285, 0);
lean_inc(x_1286);
if (lean_is_exclusive(x_1285)) {
 lean_ctor_release(x_1285, 0);
 x_1287 = x_1285;
} else {
 lean_dec_ref(x_1285);
 x_1287 = lean_box(0);
}
lean_inc(x_6);
lean_inc(x_4);
x_1288 = l_Lean_Meta_expandCoe(x_1286, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1288) == 0)
{
lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; 
lean_dec(x_1259);
lean_dec(x_1057);
lean_dec(x_6);
lean_dec(x_4);
x_1289 = lean_ctor_get(x_1288, 0);
lean_inc(x_1289);
if (lean_is_exclusive(x_1288)) {
 lean_ctor_release(x_1288, 0);
 x_1290 = x_1288;
} else {
 lean_dec_ref(x_1288);
 x_1290 = lean_box(0);
}
if (lean_is_scalar(x_1287)) {
 x_1291 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1291 = x_1287;
 lean_ctor_set_tag(x_1291, 1);
}
lean_ctor_set(x_1291, 0, x_1289);
if (lean_is_scalar(x_1290)) {
 x_1292 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1292 = x_1290;
}
lean_ctor_set(x_1292, 0, x_1291);
return x_1292;
}
else
{
lean_object* x_1293; 
lean_dec(x_1287);
x_1293 = lean_ctor_get(x_1288, 0);
lean_inc(x_1293);
lean_dec_ref(x_1288);
x_1273 = x_1293;
x_1274 = lean_box(0);
goto block_1277;
}
}
else
{
lean_object* x_1294; 
lean_dec_ref(x_5);
lean_dec_ref(x_3);
x_1294 = lean_ctor_get(x_1285, 0);
lean_inc(x_1294);
lean_dec_ref(x_1285);
x_1273 = x_1294;
x_1274 = lean_box(0);
goto block_1277;
}
block_1272:
{
if (x_1264 == 0)
{
lean_object* x_1265; 
lean_dec_ref(x_1262);
lean_dec(x_1259);
x_1265 = l_Lean_Meta_SavedState_restore___redArg(x_1057, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_1057);
if (lean_obj_tag(x_1265) == 0)
{
lean_object* x_1266; lean_object* x_1267; 
if (lean_is_exclusive(x_1265)) {
 lean_ctor_release(x_1265, 0);
 x_1266 = x_1265;
} else {
 lean_dec_ref(x_1265);
 x_1266 = lean_box(0);
}
if (lean_is_scalar(x_1266)) {
 x_1267 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1267 = x_1266;
}
lean_ctor_set(x_1267, 0, x_1261);
return x_1267;
}
else
{
lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; 
x_1268 = lean_ctor_get(x_1265, 0);
lean_inc(x_1268);
if (lean_is_exclusive(x_1265)) {
 lean_ctor_release(x_1265, 0);
 x_1269 = x_1265;
} else {
 lean_dec_ref(x_1265);
 x_1269 = lean_box(0);
}
if (lean_is_scalar(x_1269)) {
 x_1270 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1270 = x_1269;
}
lean_ctor_set(x_1270, 0, x_1268);
return x_1270;
}
}
else
{
lean_object* x_1271; 
lean_dec(x_1057);
lean_dec(x_6);
lean_dec(x_4);
if (lean_is_scalar(x_1259)) {
 x_1271 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1271 = x_1259;
 lean_ctor_set_tag(x_1271, 1);
}
lean_ctor_set(x_1271, 0, x_1262);
return x_1271;
}
}
block_1277:
{
uint8_t x_1275; 
x_1275 = l_Lean_Exception_isInterrupt(x_1273);
if (x_1275 == 0)
{
uint8_t x_1276; 
x_1276 = l_Lean_Exception_isRuntime(x_1273);
x_1262 = x_1273;
x_1263 = lean_box(0);
x_1264 = x_1276;
goto block_1272;
}
else
{
x_1262 = x_1273;
x_1263 = lean_box(0);
x_1264 = x_1275;
goto block_1272;
}
}
}
else
{
lean_object* x_1295; 
lean_dec(x_1259);
lean_dec(x_1258);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_dec(x_38);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
lean_dec_ref(x_5);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1295 = l_Lean_Meta_SavedState_restore___redArg(x_1057, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_1057);
if (lean_obj_tag(x_1295) == 0)
{
lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; 
if (lean_is_exclusive(x_1295)) {
 lean_ctor_release(x_1295, 0);
 x_1296 = x_1295;
} else {
 lean_dec_ref(x_1295);
 x_1296 = lean_box(0);
}
x_1297 = lean_box(0);
if (lean_is_scalar(x_1296)) {
 x_1298 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1298 = x_1296;
}
lean_ctor_set(x_1298, 0, x_1297);
return x_1298;
}
else
{
lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; 
x_1299 = lean_ctor_get(x_1295, 0);
lean_inc(x_1299);
if (lean_is_exclusive(x_1295)) {
 lean_ctor_release(x_1295, 0);
 x_1300 = x_1295;
} else {
 lean_dec_ref(x_1295);
 x_1300 = lean_box(0);
}
if (lean_is_scalar(x_1300)) {
 x_1301 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1301 = x_1300;
}
lean_ctor_set(x_1301, 0, x_1299);
return x_1301;
}
}
}
else
{
lean_dec(x_1057);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_dec(x_38);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
return x_1257;
}
}
}
else
{
lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; 
lean_dec(x_1057);
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_free_object(x_33);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1302 = lean_ctor_get(x_1058, 0);
lean_inc(x_1302);
if (lean_is_exclusive(x_1058)) {
 lean_ctor_release(x_1058, 0);
 x_1303 = x_1058;
} else {
 lean_dec_ref(x_1058);
 x_1303 = lean_box(0);
}
if (lean_is_scalar(x_1303)) {
 x_1304 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1304 = x_1303;
}
lean_ctor_set(x_1304, 0, x_1302);
return x_1304;
}
}
else
{
lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; 
lean_dec(x_1055);
lean_dec(x_1054);
lean_free_object(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_free_object(x_33);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1305 = lean_ctor_get(x_1056, 0);
lean_inc(x_1305);
if (lean_is_exclusive(x_1056)) {
 lean_ctor_release(x_1056, 0);
 x_1306 = x_1056;
} else {
 lean_dec_ref(x_1056);
 x_1306 = lean_box(0);
}
if (lean_is_scalar(x_1306)) {
 x_1307 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1307 = x_1306;
}
lean_ctor_set(x_1307, 0, x_1305);
return x_1307;
}
}
}
else
{
lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; 
x_1308 = lean_ctor_get(x_41, 0);
lean_inc(x_1308);
lean_dec(x_41);
x_1309 = lean_ctor_get(x_1308, 0);
lean_inc(x_1309);
x_1310 = lean_ctor_get(x_1308, 1);
lean_inc(x_1310);
if (lean_is_exclusive(x_1308)) {
 lean_ctor_release(x_1308, 0);
 lean_ctor_release(x_1308, 1);
 x_1311 = x_1308;
} else {
 lean_dec_ref(x_1308);
 x_1311 = lean_box(0);
}
x_1312 = l_Lean_Meta_saveState___redArg(x_4, x_6);
if (lean_obj_tag(x_1312) == 0)
{
lean_object* x_1313; lean_object* x_1314; 
x_1313 = lean_ctor_get(x_1312, 0);
lean_inc(x_1313);
lean_dec_ref(x_1312);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
lean_inc(x_1309);
x_1314 = l_Lean_Meta_isExprDefEq(x_1309, x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1314) == 0)
{
lean_object* x_1315; lean_object* x_1316; uint8_t x_1317; 
x_1315 = lean_ctor_get(x_1314, 0);
lean_inc(x_1315);
if (lean_is_exclusive(x_1314)) {
 lean_ctor_release(x_1314, 0);
 x_1316 = x_1314;
} else {
 lean_dec_ref(x_1314);
 x_1316 = lean_box(0);
}
x_1317 = lean_unbox(x_1315);
lean_dec(x_1315);
if (x_1317 == 0)
{
lean_object* x_1318; lean_object* x_1319; uint8_t x_1320; 
lean_dec(x_1313);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
x_1318 = lean_ctor_get(x_5, 2);
x_1319 = l_Lean_Meta_coerceMonadLift_x3f___closed__0;
x_1320 = l_Lean_Option_get___at___00Lean_Meta_coerceMonadLift_x3f_spec__0(x_1318, x_1319);
if (x_1320 == 0)
{
lean_object* x_1321; lean_object* x_1322; 
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1321 = lean_box(0);
if (lean_is_scalar(x_1316)) {
 x_1322 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1322 = x_1316;
}
lean_ctor_set(x_1322, 0, x_1321);
return x_1322;
}
else
{
lean_object* x_1323; 
lean_dec(x_1316);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1309);
x_1323 = lean_infer_type(x_1309, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1323) == 0)
{
lean_object* x_1324; lean_object* x_1325; 
x_1324 = lean_ctor_get(x_1323, 0);
lean_inc(x_1324);
lean_dec_ref(x_1323);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1325 = lean_whnf(x_1324, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1325) == 0)
{
lean_object* x_1326; 
x_1326 = lean_ctor_get(x_1325, 0);
lean_inc(x_1326);
lean_dec_ref(x_1325);
if (lean_obj_tag(x_1326) == 7)
{
lean_object* x_1327; 
x_1327 = lean_ctor_get(x_1326, 1);
if (lean_obj_tag(x_1327) == 3)
{
lean_object* x_1328; 
x_1328 = lean_ctor_get(x_1326, 2);
if (lean_obj_tag(x_1328) == 3)
{
lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; 
lean_inc_ref(x_1328);
lean_inc_ref(x_1327);
lean_dec_ref(x_1326);
x_1329 = lean_ctor_get(x_1327, 0);
lean_inc(x_1329);
lean_dec_ref(x_1327);
x_1330 = lean_ctor_get(x_1328, 0);
lean_inc(x_1330);
lean_dec_ref(x_1328);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
x_1331 = lean_infer_type(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1331) == 0)
{
lean_object* x_1332; lean_object* x_1333; 
x_1332 = lean_ctor_get(x_1331, 0);
lean_inc(x_1332);
lean_dec_ref(x_1331);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1333 = lean_whnf(x_1332, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1333) == 0)
{
lean_object* x_1334; 
x_1334 = lean_ctor_get(x_1333, 0);
lean_inc(x_1334);
lean_dec_ref(x_1333);
if (lean_obj_tag(x_1334) == 7)
{
lean_object* x_1335; 
x_1335 = lean_ctor_get(x_1334, 1);
if (lean_obj_tag(x_1335) == 3)
{
lean_object* x_1336; 
x_1336 = lean_ctor_get(x_1334, 2);
if (lean_obj_tag(x_1336) == 3)
{
lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; 
lean_inc_ref(x_1336);
lean_inc_ref(x_1335);
lean_dec_ref(x_1334);
x_1337 = lean_ctor_get(x_1335, 0);
lean_inc(x_1337);
lean_dec_ref(x_1335);
x_1338 = lean_ctor_get(x_1336, 0);
lean_inc(x_1338);
lean_dec_ref(x_1336);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1339 = l_Lean_Meta_decLevel(x_1329, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1339) == 0)
{
lean_object* x_1340; lean_object* x_1341; 
x_1340 = lean_ctor_get(x_1339, 0);
lean_inc(x_1340);
lean_dec_ref(x_1339);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1341 = l_Lean_Meta_decLevel(x_1337, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1341) == 0)
{
lean_object* x_1342; lean_object* x_1343; 
x_1342 = lean_ctor_get(x_1341, 0);
lean_inc(x_1342);
lean_dec_ref(x_1341);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1340);
x_1343 = l_Lean_Meta_isLevelDefEq(x_1340, x_1342, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1343) == 0)
{
lean_object* x_1344; lean_object* x_1345; uint8_t x_1346; 
x_1344 = lean_ctor_get(x_1343, 0);
lean_inc(x_1344);
if (lean_is_exclusive(x_1343)) {
 lean_ctor_release(x_1343, 0);
 x_1345 = x_1343;
} else {
 lean_dec_ref(x_1343);
 x_1345 = lean_box(0);
}
x_1346 = lean_unbox(x_1344);
lean_dec(x_1344);
if (x_1346 == 1)
{
lean_object* x_1347; 
lean_dec(x_1345);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1347 = l_Lean_Meta_decLevel(x_1330, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1347) == 0)
{
lean_object* x_1348; lean_object* x_1349; 
x_1348 = lean_ctor_get(x_1347, 0);
lean_inc(x_1348);
lean_dec_ref(x_1347);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1349 = l_Lean_Meta_decLevel(x_1338, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1349) == 0)
{
lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; 
x_1350 = lean_ctor_get(x_1349, 0);
lean_inc(x_1350);
lean_dec_ref(x_1349);
x_1351 = l_Lean_Meta_coerceMonadLift_x3f___closed__2;
x_1352 = lean_box(0);
if (lean_is_scalar(x_1311)) {
 x_1353 = lean_alloc_ctor(1, 2, 0);
} else {
 x_1353 = x_1311;
 lean_ctor_set_tag(x_1353, 1);
}
lean_ctor_set(x_1353, 0, x_1350);
lean_ctor_set(x_1353, 1, x_1352);
lean_ctor_set_tag(x_35, 1);
lean_ctor_set(x_35, 1, x_1353);
lean_ctor_set(x_35, 0, x_1348);
x_1354 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1354, 0, x_1340);
lean_ctor_set(x_1354, 1, x_35);
x_1355 = l_Lean_Expr_const___override(x_1351, x_1354);
x_1356 = l_Lean_Meta_coerceMonadLift_x3f___closed__3;
lean_inc(x_1309);
x_1357 = lean_array_push(x_1356, x_1309);
lean_inc(x_37);
x_1358 = lean_array_push(x_1357, x_37);
x_1359 = l_Lean_mkAppN(x_1355, x_1358);
lean_dec_ref(x_1358);
x_1360 = lean_box(0);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1361 = l_Lean_Meta_trySynthInstance(x_1359, x_1360, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1361) == 0)
{
lean_object* x_1362; lean_object* x_1363; 
x_1362 = lean_ctor_get(x_1361, 0);
lean_inc(x_1362);
if (lean_is_exclusive(x_1361)) {
 lean_ctor_release(x_1361, 0);
 x_1363 = x_1361;
} else {
 lean_dec_ref(x_1361);
 x_1363 = lean_box(0);
}
if (lean_obj_tag(x_1362) == 1)
{
lean_object* x_1364; lean_object* x_1365; 
lean_dec(x_1363);
x_1364 = lean_ctor_get(x_1362, 0);
lean_inc(x_1364);
lean_dec_ref(x_1362);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1310);
x_1365 = l_Lean_Meta_getDecLevel(x_1310, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1365) == 0)
{
lean_object* x_1366; lean_object* x_1367; 
x_1366 = lean_ctor_get(x_1365, 0);
lean_inc(x_1366);
lean_dec_ref(x_1365);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1367 = l_Lean_Meta_getDecLevel(x_30, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1367) == 0)
{
lean_object* x_1368; lean_object* x_1369; 
x_1368 = lean_ctor_get(x_1367, 0);
lean_inc(x_1368);
lean_dec_ref(x_1367);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_1369 = l_Lean_Meta_getDecLevel(x_25, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1369) == 0)
{
lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; 
x_1370 = lean_ctor_get(x_1369, 0);
lean_inc(x_1370);
lean_dec_ref(x_1369);
x_1371 = l_Lean_Meta_coerceMonadLift_x3f___closed__5;
x_1372 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1372, 0, x_1370);
lean_ctor_set(x_1372, 1, x_1352);
x_1373 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1373, 0, x_1368);
lean_ctor_set(x_1373, 1, x_1372);
x_1374 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1374, 0, x_1366);
lean_ctor_set(x_1374, 1, x_1373);
lean_inc_ref(x_1374);
x_1375 = l_Lean_mkConst(x_1371, x_1374);
x_1376 = l_Lean_Meta_coerceMonadLift_x3f___closed__6;
lean_inc(x_1309);
x_1377 = lean_array_push(x_1376, x_1309);
lean_inc(x_37);
x_1378 = lean_array_push(x_1377, x_37);
lean_inc(x_1364);
x_1379 = lean_array_push(x_1378, x_1364);
lean_inc(x_1310);
x_1380 = lean_array_push(x_1379, x_1310);
lean_inc_ref(x_1);
x_1381 = lean_array_push(x_1380, x_1);
x_1382 = l_Lean_mkAppN(x_1375, x_1381);
lean_dec_ref(x_1381);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_1382);
x_1383 = lean_infer_type(x_1382, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1383) == 0)
{
lean_object* x_1384; lean_object* x_1385; 
x_1384 = lean_ctor_get(x_1383, 0);
lean_inc(x_1384);
lean_dec_ref(x_1383);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_1385 = l_Lean_Meta_isExprDefEq(x_25, x_1384, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1385) == 0)
{
lean_object* x_1386; lean_object* x_1387; uint8_t x_1388; 
x_1386 = lean_ctor_get(x_1385, 0);
lean_inc(x_1386);
if (lean_is_exclusive(x_1385)) {
 lean_ctor_release(x_1385, 0);
 x_1387 = x_1385;
} else {
 lean_dec_ref(x_1385);
 x_1387 = lean_box(0);
}
x_1388 = lean_unbox(x_1386);
lean_dec(x_1386);
if (x_1388 == 0)
{
lean_object* x_1389; 
lean_dec(x_1387);
lean_dec_ref(x_1382);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
x_1389 = l_Lean_Meta_isMonad_x3f(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1389) == 0)
{
lean_object* x_1390; lean_object* x_1391; 
x_1390 = lean_ctor_get(x_1389, 0);
lean_inc(x_1390);
if (lean_is_exclusive(x_1389)) {
 lean_ctor_release(x_1389, 0);
 x_1391 = x_1389;
} else {
 lean_dec_ref(x_1389);
 x_1391 = lean_box(0);
}
if (lean_obj_tag(x_1390) == 1)
{
lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; 
lean_dec(x_1391);
x_1392 = lean_ctor_get(x_1390, 0);
lean_inc(x_1392);
if (lean_is_exclusive(x_1390)) {
 lean_ctor_release(x_1390, 0);
 x_1393 = x_1390;
} else {
 lean_dec_ref(x_1390);
 x_1393 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1310);
x_1394 = l_Lean_Meta_getLevel(x_1310, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1394) == 0)
{
lean_object* x_1395; lean_object* x_1396; 
x_1395 = lean_ctor_get(x_1394, 0);
lean_inc(x_1395);
lean_dec_ref(x_1394);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_38);
x_1396 = l_Lean_Meta_getLevel(x_38, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1396) == 0)
{
lean_object* x_1397; lean_object* x_1398; uint8_t x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; 
x_1397 = lean_ctor_get(x_1396, 0);
lean_inc(x_1397);
lean_dec_ref(x_1396);
x_1398 = l_Lean_Meta_coerceMonadLift_x3f___closed__8;
x_1399 = 0;
x_1400 = l_Lean_Meta_coerceSimple_x3f___closed__1;
x_1401 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1401, 0, x_1397);
lean_ctor_set(x_1401, 1, x_1352);
x_1402 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1402, 0, x_1395);
lean_ctor_set(x_1402, 1, x_1401);
x_1403 = l_Lean_mkConst(x_1400, x_1402);
x_1404 = l_Lean_Meta_coerceMonadLift_x3f___closed__9;
x_1405 = l_Lean_Meta_coerceSimple_x3f___closed__2;
lean_inc(x_1310);
x_1406 = lean_array_push(x_1405, x_1310);
x_1407 = lean_array_push(x_1406, x_1404);
lean_inc(x_38);
x_1408 = lean_array_push(x_1407, x_38);
x_1409 = l_Lean_mkAppN(x_1403, x_1408);
lean_dec_ref(x_1408);
lean_inc(x_1310);
x_1410 = l_Lean_mkForall(x_1398, x_1399, x_1310, x_1409);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1411 = l_Lean_Meta_trySynthInstance(x_1410, x_1360, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1411) == 0)
{
lean_object* x_1412; lean_object* x_1413; 
x_1412 = lean_ctor_get(x_1411, 0);
lean_inc(x_1412);
if (lean_is_exclusive(x_1411)) {
 lean_ctor_release(x_1411, 0);
 x_1413 = x_1411;
} else {
 lean_dec_ref(x_1411);
 x_1413 = lean_box(0);
}
if (lean_obj_tag(x_1412) == 1)
{
lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; 
lean_dec(x_1413);
x_1414 = lean_ctor_get(x_1412, 0);
lean_inc(x_1414);
lean_dec_ref(x_1412);
x_1415 = l_Lean_Meta_coerceMonadLift_x3f___closed__12;
x_1416 = l_Lean_mkConst(x_1415, x_1374);
x_1417 = l_Lean_Meta_coerceMonadLift_x3f___closed__13;
x_1418 = lean_array_push(x_1417, x_1309);
x_1419 = lean_array_push(x_1418, x_37);
x_1420 = lean_array_push(x_1419, x_1310);
x_1421 = lean_array_push(x_1420, x_38);
x_1422 = lean_array_push(x_1421, x_1364);
x_1423 = lean_array_push(x_1422, x_1414);
x_1424 = lean_array_push(x_1423, x_1392);
x_1425 = lean_array_push(x_1424, x_1);
x_1426 = l_Lean_mkAppN(x_1416, x_1425);
lean_dec_ref(x_1425);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1427 = l_Lean_Meta_expandCoe(x_1426, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1427) == 0)
{
lean_object* x_1428; lean_object* x_1429; 
x_1428 = lean_ctor_get(x_1427, 0);
lean_inc(x_1428);
lean_dec_ref(x_1427);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1428);
x_1429 = lean_infer_type(x_1428, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1429) == 0)
{
lean_object* x_1430; lean_object* x_1431; 
x_1430 = lean_ctor_get(x_1429, 0);
lean_inc(x_1430);
lean_dec_ref(x_1429);
x_1431 = l_Lean_Meta_isExprDefEq(x_25, x_1430, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1431) == 0)
{
lean_object* x_1432; lean_object* x_1433; uint8_t x_1434; 
x_1432 = lean_ctor_get(x_1431, 0);
lean_inc(x_1432);
if (lean_is_exclusive(x_1431)) {
 lean_ctor_release(x_1431, 0);
 x_1433 = x_1431;
} else {
 lean_dec_ref(x_1431);
 x_1433 = lean_box(0);
}
x_1434 = lean_unbox(x_1432);
lean_dec(x_1432);
if (x_1434 == 0)
{
lean_object* x_1435; 
lean_dec(x_1428);
lean_dec(x_1393);
if (lean_is_scalar(x_1433)) {
 x_1435 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1435 = x_1433;
}
lean_ctor_set(x_1435, 0, x_1360);
return x_1435;
}
else
{
lean_object* x_1436; lean_object* x_1437; 
if (lean_is_scalar(x_1393)) {
 x_1436 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1436 = x_1393;
}
lean_ctor_set(x_1436, 0, x_1428);
if (lean_is_scalar(x_1433)) {
 x_1437 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1437 = x_1433;
}
lean_ctor_set(x_1437, 0, x_1436);
return x_1437;
}
}
else
{
lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; 
lean_dec(x_1428);
lean_dec(x_1393);
x_1438 = lean_ctor_get(x_1431, 0);
lean_inc(x_1438);
if (lean_is_exclusive(x_1431)) {
 lean_ctor_release(x_1431, 0);
 x_1439 = x_1431;
} else {
 lean_dec_ref(x_1431);
 x_1439 = lean_box(0);
}
lean_inc(x_1438);
if (lean_is_scalar(x_1439)) {
 x_1440 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1440 = x_1439;
}
lean_ctor_set(x_1440, 0, x_1438);
x_14 = x_1440;
x_15 = x_1438;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; 
lean_dec(x_1428);
lean_dec(x_1393);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_1441 = lean_ctor_get(x_1429, 0);
lean_inc(x_1441);
if (lean_is_exclusive(x_1429)) {
 lean_ctor_release(x_1429, 0);
 x_1442 = x_1429;
} else {
 lean_dec_ref(x_1429);
 x_1442 = lean_box(0);
}
lean_inc(x_1441);
if (lean_is_scalar(x_1442)) {
 x_1443 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1443 = x_1442;
}
lean_ctor_set(x_1443, 0, x_1441);
x_14 = x_1443;
x_15 = x_1441;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; 
lean_dec(x_1393);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_1444 = lean_ctor_get(x_1427, 0);
lean_inc(x_1444);
if (lean_is_exclusive(x_1427)) {
 lean_ctor_release(x_1427, 0);
 x_1445 = x_1427;
} else {
 lean_dec_ref(x_1427);
 x_1445 = lean_box(0);
}
lean_inc(x_1444);
if (lean_is_scalar(x_1445)) {
 x_1446 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1446 = x_1445;
}
lean_ctor_set(x_1446, 0, x_1444);
x_14 = x_1446;
x_15 = x_1444;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1447; 
lean_dec(x_1412);
lean_dec(x_1393);
lean_dec(x_1392);
lean_dec_ref(x_1374);
lean_dec(x_1364);
lean_dec(x_1310);
lean_dec(x_1309);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_1413)) {
 x_1447 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1447 = x_1413;
}
lean_ctor_set(x_1447, 0, x_1360);
return x_1447;
}
}
else
{
lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; 
lean_dec(x_1393);
lean_dec(x_1392);
lean_dec_ref(x_1374);
lean_dec(x_1364);
lean_dec(x_1310);
lean_dec(x_1309);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1448 = lean_ctor_get(x_1411, 0);
lean_inc(x_1448);
if (lean_is_exclusive(x_1411)) {
 lean_ctor_release(x_1411, 0);
 x_1449 = x_1411;
} else {
 lean_dec_ref(x_1411);
 x_1449 = lean_box(0);
}
lean_inc(x_1448);
if (lean_is_scalar(x_1449)) {
 x_1450 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1450 = x_1449;
}
lean_ctor_set(x_1450, 0, x_1448);
x_14 = x_1450;
x_15 = x_1448;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; 
lean_dec(x_1395);
lean_dec(x_1393);
lean_dec(x_1392);
lean_dec_ref(x_1374);
lean_dec(x_1364);
lean_dec(x_1310);
lean_dec(x_1309);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1451 = lean_ctor_get(x_1396, 0);
lean_inc(x_1451);
if (lean_is_exclusive(x_1396)) {
 lean_ctor_release(x_1396, 0);
 x_1452 = x_1396;
} else {
 lean_dec_ref(x_1396);
 x_1452 = lean_box(0);
}
lean_inc(x_1451);
if (lean_is_scalar(x_1452)) {
 x_1453 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1453 = x_1452;
}
lean_ctor_set(x_1453, 0, x_1451);
x_14 = x_1453;
x_15 = x_1451;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; 
lean_dec(x_1393);
lean_dec(x_1392);
lean_dec_ref(x_1374);
lean_dec(x_1364);
lean_dec(x_1310);
lean_dec(x_1309);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1454 = lean_ctor_get(x_1394, 0);
lean_inc(x_1454);
if (lean_is_exclusive(x_1394)) {
 lean_ctor_release(x_1394, 0);
 x_1455 = x_1394;
} else {
 lean_dec_ref(x_1394);
 x_1455 = lean_box(0);
}
lean_inc(x_1454);
if (lean_is_scalar(x_1455)) {
 x_1456 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1456 = x_1455;
}
lean_ctor_set(x_1456, 0, x_1454);
x_14 = x_1456;
x_15 = x_1454;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1457; 
lean_dec(x_1390);
lean_dec_ref(x_1374);
lean_dec(x_1364);
lean_dec(x_1310);
lean_dec(x_1309);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_1391)) {
 x_1457 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1457 = x_1391;
}
lean_ctor_set(x_1457, 0, x_1360);
return x_1457;
}
}
else
{
lean_dec_ref(x_1374);
lean_dec(x_1364);
lean_dec(x_1310);
lean_dec(x_1309);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_20 = x_1389;
goto block_22;
}
}
else
{
lean_object* x_1458; lean_object* x_1459; 
lean_dec_ref(x_1374);
lean_dec(x_1364);
lean_dec(x_1310);
lean_dec(x_1309);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1458 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1458, 0, x_1382);
if (lean_is_scalar(x_1387)) {
 x_1459 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1459 = x_1387;
}
lean_ctor_set(x_1459, 0, x_1458);
return x_1459;
}
}
else
{
lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; 
lean_dec_ref(x_1382);
lean_dec_ref(x_1374);
lean_dec(x_1364);
lean_dec(x_1310);
lean_dec(x_1309);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1460 = lean_ctor_get(x_1385, 0);
lean_inc(x_1460);
if (lean_is_exclusive(x_1385)) {
 lean_ctor_release(x_1385, 0);
 x_1461 = x_1385;
} else {
 lean_dec_ref(x_1385);
 x_1461 = lean_box(0);
}
lean_inc(x_1460);
if (lean_is_scalar(x_1461)) {
 x_1462 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1462 = x_1461;
}
lean_ctor_set(x_1462, 0, x_1460);
x_14 = x_1462;
x_15 = x_1460;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; 
lean_dec_ref(x_1382);
lean_dec_ref(x_1374);
lean_dec(x_1364);
lean_dec(x_1310);
lean_dec(x_1309);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1463 = lean_ctor_get(x_1383, 0);
lean_inc(x_1463);
if (lean_is_exclusive(x_1383)) {
 lean_ctor_release(x_1383, 0);
 x_1464 = x_1383;
} else {
 lean_dec_ref(x_1383);
 x_1464 = lean_box(0);
}
lean_inc(x_1463);
if (lean_is_scalar(x_1464)) {
 x_1465 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1465 = x_1464;
}
lean_ctor_set(x_1465, 0, x_1463);
x_14 = x_1465;
x_15 = x_1463;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; 
lean_dec(x_1368);
lean_dec(x_1366);
lean_dec(x_1364);
lean_dec(x_1310);
lean_dec(x_1309);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1466 = lean_ctor_get(x_1369, 0);
lean_inc(x_1466);
if (lean_is_exclusive(x_1369)) {
 lean_ctor_release(x_1369, 0);
 x_1467 = x_1369;
} else {
 lean_dec_ref(x_1369);
 x_1467 = lean_box(0);
}
lean_inc(x_1466);
if (lean_is_scalar(x_1467)) {
 x_1468 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1468 = x_1467;
}
lean_ctor_set(x_1468, 0, x_1466);
x_14 = x_1468;
x_15 = x_1466;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; 
lean_dec(x_1366);
lean_dec(x_1364);
lean_dec(x_1310);
lean_dec(x_1309);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1469 = lean_ctor_get(x_1367, 0);
lean_inc(x_1469);
if (lean_is_exclusive(x_1367)) {
 lean_ctor_release(x_1367, 0);
 x_1470 = x_1367;
} else {
 lean_dec_ref(x_1367);
 x_1470 = lean_box(0);
}
lean_inc(x_1469);
if (lean_is_scalar(x_1470)) {
 x_1471 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1471 = x_1470;
}
lean_ctor_set(x_1471, 0, x_1469);
x_14 = x_1471;
x_15 = x_1469;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; 
lean_dec(x_1364);
lean_dec(x_1310);
lean_dec(x_1309);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1472 = lean_ctor_get(x_1365, 0);
lean_inc(x_1472);
if (lean_is_exclusive(x_1365)) {
 lean_ctor_release(x_1365, 0);
 x_1473 = x_1365;
} else {
 lean_dec_ref(x_1365);
 x_1473 = lean_box(0);
}
lean_inc(x_1472);
if (lean_is_scalar(x_1473)) {
 x_1474 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1474 = x_1473;
}
lean_ctor_set(x_1474, 0, x_1472);
x_14 = x_1474;
x_15 = x_1472;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1475; 
lean_dec(x_1362);
lean_dec(x_1310);
lean_dec(x_1309);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_1363)) {
 x_1475 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1475 = x_1363;
}
lean_ctor_set(x_1475, 0, x_1360);
return x_1475;
}
}
else
{
lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; 
lean_dec(x_1310);
lean_dec(x_1309);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1476 = lean_ctor_get(x_1361, 0);
lean_inc(x_1476);
if (lean_is_exclusive(x_1361)) {
 lean_ctor_release(x_1361, 0);
 x_1477 = x_1361;
} else {
 lean_dec_ref(x_1361);
 x_1477 = lean_box(0);
}
lean_inc(x_1476);
if (lean_is_scalar(x_1477)) {
 x_1478 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1478 = x_1477;
}
lean_ctor_set(x_1478, 0, x_1476);
x_14 = x_1478;
x_15 = x_1476;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; 
lean_dec(x_1348);
lean_dec(x_1340);
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1479 = lean_ctor_get(x_1349, 0);
lean_inc(x_1479);
if (lean_is_exclusive(x_1349)) {
 lean_ctor_release(x_1349, 0);
 x_1480 = x_1349;
} else {
 lean_dec_ref(x_1349);
 x_1480 = lean_box(0);
}
lean_inc(x_1479);
if (lean_is_scalar(x_1480)) {
 x_1481 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1481 = x_1480;
}
lean_ctor_set(x_1481, 0, x_1479);
x_14 = x_1481;
x_15 = x_1479;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; 
lean_dec(x_1340);
lean_dec(x_1338);
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1482 = lean_ctor_get(x_1347, 0);
lean_inc(x_1482);
if (lean_is_exclusive(x_1347)) {
 lean_ctor_release(x_1347, 0);
 x_1483 = x_1347;
} else {
 lean_dec_ref(x_1347);
 x_1483 = lean_box(0);
}
lean_inc(x_1482);
if (lean_is_scalar(x_1483)) {
 x_1484 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1484 = x_1483;
}
lean_ctor_set(x_1484, 0, x_1482);
x_14 = x_1484;
x_15 = x_1482;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1485; lean_object* x_1486; 
lean_dec(x_1340);
lean_dec(x_1338);
lean_dec(x_1330);
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1485 = lean_box(0);
if (lean_is_scalar(x_1345)) {
 x_1486 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1486 = x_1345;
}
lean_ctor_set(x_1486, 0, x_1485);
return x_1486;
}
}
else
{
lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; 
lean_dec(x_1340);
lean_dec(x_1338);
lean_dec(x_1330);
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1487 = lean_ctor_get(x_1343, 0);
lean_inc(x_1487);
if (lean_is_exclusive(x_1343)) {
 lean_ctor_release(x_1343, 0);
 x_1488 = x_1343;
} else {
 lean_dec_ref(x_1343);
 x_1488 = lean_box(0);
}
lean_inc(x_1487);
if (lean_is_scalar(x_1488)) {
 x_1489 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1489 = x_1488;
}
lean_ctor_set(x_1489, 0, x_1487);
x_14 = x_1489;
x_15 = x_1487;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; 
lean_dec(x_1340);
lean_dec(x_1338);
lean_dec(x_1330);
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1490 = lean_ctor_get(x_1341, 0);
lean_inc(x_1490);
if (lean_is_exclusive(x_1341)) {
 lean_ctor_release(x_1341, 0);
 x_1491 = x_1341;
} else {
 lean_dec_ref(x_1341);
 x_1491 = lean_box(0);
}
lean_inc(x_1490);
if (lean_is_scalar(x_1491)) {
 x_1492 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1492 = x_1491;
}
lean_ctor_set(x_1492, 0, x_1490);
x_14 = x_1492;
x_15 = x_1490;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; 
lean_dec(x_1338);
lean_dec(x_1337);
lean_dec(x_1330);
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1493 = lean_ctor_get(x_1339, 0);
lean_inc(x_1493);
if (lean_is_exclusive(x_1339)) {
 lean_ctor_release(x_1339, 0);
 x_1494 = x_1339;
} else {
 lean_dec_ref(x_1339);
 x_1494 = lean_box(0);
}
lean_inc(x_1493);
if (lean_is_scalar(x_1494)) {
 x_1495 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1495 = x_1494;
}
lean_ctor_set(x_1495, 0, x_1493);
x_14 = x_1495;
x_15 = x_1493;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1496; 
lean_dec(x_1330);
lean_dec(x_1329);
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1496 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1334, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1334);
x_20 = x_1496;
goto block_22;
}
}
else
{
lean_object* x_1497; 
lean_dec(x_1330);
lean_dec(x_1329);
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1497 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1334, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1334);
x_20 = x_1497;
goto block_22;
}
}
else
{
lean_object* x_1498; 
lean_dec(x_1330);
lean_dec(x_1329);
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1498 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1334, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_1334);
x_20 = x_1498;
goto block_22;
}
}
else
{
lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; 
lean_dec(x_1330);
lean_dec(x_1329);
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1499 = lean_ctor_get(x_1333, 0);
lean_inc(x_1499);
if (lean_is_exclusive(x_1333)) {
 lean_ctor_release(x_1333, 0);
 x_1500 = x_1333;
} else {
 lean_dec_ref(x_1333);
 x_1500 = lean_box(0);
}
lean_inc(x_1499);
if (lean_is_scalar(x_1500)) {
 x_1501 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1501 = x_1500;
}
lean_ctor_set(x_1501, 0, x_1499);
x_14 = x_1501;
x_15 = x_1499;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; 
lean_dec(x_1330);
lean_dec(x_1329);
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1502 = lean_ctor_get(x_1331, 0);
lean_inc(x_1502);
if (lean_is_exclusive(x_1331)) {
 lean_ctor_release(x_1331, 0);
 x_1503 = x_1331;
} else {
 lean_dec_ref(x_1331);
 x_1503 = lean_box(0);
}
lean_inc(x_1502);
if (lean_is_scalar(x_1503)) {
 x_1504 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1504 = x_1503;
}
lean_ctor_set(x_1504, 0, x_1502);
x_14 = x_1504;
x_15 = x_1502;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1505; 
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1505 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1326, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1326);
x_20 = x_1505;
goto block_22;
}
}
else
{
lean_object* x_1506; 
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1506 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1326, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1326);
x_20 = x_1506;
goto block_22;
}
}
else
{
lean_object* x_1507; 
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1507 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1326, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_1326);
x_20 = x_1507;
goto block_22;
}
}
else
{
lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; 
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1508 = lean_ctor_get(x_1325, 0);
lean_inc(x_1508);
if (lean_is_exclusive(x_1325)) {
 lean_ctor_release(x_1325, 0);
 x_1509 = x_1325;
} else {
 lean_dec_ref(x_1325);
 x_1509 = lean_box(0);
}
lean_inc(x_1508);
if (lean_is_scalar(x_1509)) {
 x_1510 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1510 = x_1509;
}
lean_ctor_set(x_1510, 0, x_1508);
x_14 = x_1510;
x_15 = x_1508;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; 
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1511 = lean_ctor_get(x_1323, 0);
lean_inc(x_1511);
if (lean_is_exclusive(x_1323)) {
 lean_ctor_release(x_1323, 0);
 x_1512 = x_1323;
} else {
 lean_dec_ref(x_1323);
 x_1512 = lean_box(0);
}
lean_inc(x_1511);
if (lean_is_scalar(x_1512)) {
 x_1513 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1513 = x_1512;
}
lean_ctor_set(x_1513, 0, x_1511);
x_14 = x_1513;
x_15 = x_1511;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_object* x_1514; 
lean_dec(x_1316);
lean_dec(x_1311);
lean_free_object(x_35);
lean_dec(x_30);
lean_dec(x_25);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1514 = l_Lean_Meta_isMonad_x3f(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1514) == 0)
{
lean_object* x_1515; lean_object* x_1516; 
x_1515 = lean_ctor_get(x_1514, 0);
lean_inc(x_1515);
if (lean_is_exclusive(x_1514)) {
 lean_ctor_release(x_1514, 0);
 x_1516 = x_1514;
} else {
 lean_dec_ref(x_1514);
 x_1516 = lean_box(0);
}
if (lean_obj_tag(x_1515) == 1)
{
lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; uint8_t x_1522; lean_object* x_1531; lean_object* x_1532; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; 
x_1517 = l_Lean_Meta_coerceMonadLift_x3f___closed__15;
x_1518 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1518, 0, x_1309);
lean_ctor_set(x_33, 0, x_1310);
lean_ctor_set_tag(x_28, 1);
lean_ctor_set(x_28, 0, x_38);
x_1519 = lean_box(0);
lean_ctor_set_tag(x_23, 1);
lean_ctor_set(x_23, 0, x_1);
x_1536 = l_Lean_Meta_coerceMonadLift_x3f___closed__16;
x_1537 = lean_array_push(x_1536, x_1518);
x_1538 = lean_array_push(x_1537, x_33);
x_1539 = lean_array_push(x_1538, x_28);
x_1540 = lean_array_push(x_1539, x_1519);
x_1541 = lean_array_push(x_1540, x_1515);
x_1542 = lean_array_push(x_1541, x_23);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1543 = l_Lean_Meta_mkAppOptM(x_1517, x_1542, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1543) == 0)
{
lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; 
x_1544 = lean_ctor_get(x_1543, 0);
lean_inc(x_1544);
if (lean_is_exclusive(x_1543)) {
 lean_ctor_release(x_1543, 0);
 x_1545 = x_1543;
} else {
 lean_dec_ref(x_1543);
 x_1545 = lean_box(0);
}
lean_inc(x_6);
lean_inc(x_4);
x_1546 = l_Lean_Meta_expandCoe(x_1544, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1546) == 0)
{
lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; 
lean_dec(x_1516);
lean_dec(x_1313);
lean_dec(x_6);
lean_dec(x_4);
x_1547 = lean_ctor_get(x_1546, 0);
lean_inc(x_1547);
if (lean_is_exclusive(x_1546)) {
 lean_ctor_release(x_1546, 0);
 x_1548 = x_1546;
} else {
 lean_dec_ref(x_1546);
 x_1548 = lean_box(0);
}
if (lean_is_scalar(x_1545)) {
 x_1549 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1549 = x_1545;
 lean_ctor_set_tag(x_1549, 1);
}
lean_ctor_set(x_1549, 0, x_1547);
if (lean_is_scalar(x_1548)) {
 x_1550 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1550 = x_1548;
}
lean_ctor_set(x_1550, 0, x_1549);
return x_1550;
}
else
{
lean_object* x_1551; 
lean_dec(x_1545);
x_1551 = lean_ctor_get(x_1546, 0);
lean_inc(x_1551);
lean_dec_ref(x_1546);
x_1531 = x_1551;
x_1532 = lean_box(0);
goto block_1535;
}
}
else
{
lean_object* x_1552; 
lean_dec_ref(x_5);
lean_dec_ref(x_3);
x_1552 = lean_ctor_get(x_1543, 0);
lean_inc(x_1552);
lean_dec_ref(x_1543);
x_1531 = x_1552;
x_1532 = lean_box(0);
goto block_1535;
}
block_1530:
{
if (x_1522 == 0)
{
lean_object* x_1523; 
lean_dec_ref(x_1520);
lean_dec(x_1516);
x_1523 = l_Lean_Meta_SavedState_restore___redArg(x_1313, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_1313);
if (lean_obj_tag(x_1523) == 0)
{
lean_object* x_1524; lean_object* x_1525; 
if (lean_is_exclusive(x_1523)) {
 lean_ctor_release(x_1523, 0);
 x_1524 = x_1523;
} else {
 lean_dec_ref(x_1523);
 x_1524 = lean_box(0);
}
if (lean_is_scalar(x_1524)) {
 x_1525 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1525 = x_1524;
}
lean_ctor_set(x_1525, 0, x_1519);
return x_1525;
}
else
{
lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; 
x_1526 = lean_ctor_get(x_1523, 0);
lean_inc(x_1526);
if (lean_is_exclusive(x_1523)) {
 lean_ctor_release(x_1523, 0);
 x_1527 = x_1523;
} else {
 lean_dec_ref(x_1523);
 x_1527 = lean_box(0);
}
if (lean_is_scalar(x_1527)) {
 x_1528 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1528 = x_1527;
}
lean_ctor_set(x_1528, 0, x_1526);
return x_1528;
}
}
else
{
lean_object* x_1529; 
lean_dec(x_1313);
lean_dec(x_6);
lean_dec(x_4);
if (lean_is_scalar(x_1516)) {
 x_1529 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1529 = x_1516;
 lean_ctor_set_tag(x_1529, 1);
}
lean_ctor_set(x_1529, 0, x_1520);
return x_1529;
}
}
block_1535:
{
uint8_t x_1533; 
x_1533 = l_Lean_Exception_isInterrupt(x_1531);
if (x_1533 == 0)
{
uint8_t x_1534; 
x_1534 = l_Lean_Exception_isRuntime(x_1531);
x_1520 = x_1531;
x_1521 = lean_box(0);
x_1522 = x_1534;
goto block_1530;
}
else
{
x_1520 = x_1531;
x_1521 = lean_box(0);
x_1522 = x_1533;
goto block_1530;
}
}
}
else
{
lean_object* x_1553; 
lean_dec(x_1516);
lean_dec(x_1515);
lean_dec(x_1310);
lean_dec(x_1309);
lean_dec(x_38);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
lean_dec_ref(x_5);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1553 = l_Lean_Meta_SavedState_restore___redArg(x_1313, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_1313);
if (lean_obj_tag(x_1553) == 0)
{
lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; 
if (lean_is_exclusive(x_1553)) {
 lean_ctor_release(x_1553, 0);
 x_1554 = x_1553;
} else {
 lean_dec_ref(x_1553);
 x_1554 = lean_box(0);
}
x_1555 = lean_box(0);
if (lean_is_scalar(x_1554)) {
 x_1556 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1556 = x_1554;
}
lean_ctor_set(x_1556, 0, x_1555);
return x_1556;
}
else
{
lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; 
x_1557 = lean_ctor_get(x_1553, 0);
lean_inc(x_1557);
if (lean_is_exclusive(x_1553)) {
 lean_ctor_release(x_1553, 0);
 x_1558 = x_1553;
} else {
 lean_dec_ref(x_1553);
 x_1558 = lean_box(0);
}
if (lean_is_scalar(x_1558)) {
 x_1559 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1559 = x_1558;
}
lean_ctor_set(x_1559, 0, x_1557);
return x_1559;
}
}
}
else
{
lean_dec(x_1313);
lean_dec(x_1310);
lean_dec(x_1309);
lean_dec(x_38);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
return x_1514;
}
}
}
else
{
lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; 
lean_dec(x_1313);
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_free_object(x_33);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1560 = lean_ctor_get(x_1314, 0);
lean_inc(x_1560);
if (lean_is_exclusive(x_1314)) {
 lean_ctor_release(x_1314, 0);
 x_1561 = x_1314;
} else {
 lean_dec_ref(x_1314);
 x_1561 = lean_box(0);
}
if (lean_is_scalar(x_1561)) {
 x_1562 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1562 = x_1561;
}
lean_ctor_set(x_1562, 0, x_1560);
return x_1562;
}
}
else
{
lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; 
lean_dec(x_1311);
lean_dec(x_1310);
lean_dec(x_1309);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_free_object(x_33);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1563 = lean_ctor_get(x_1312, 0);
lean_inc(x_1563);
if (lean_is_exclusive(x_1312)) {
 lean_ctor_release(x_1312, 0);
 x_1564 = x_1312;
} else {
 lean_dec_ref(x_1312);
 x_1564 = lean_box(0);
}
if (lean_is_scalar(x_1564)) {
 x_1565 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1565 = x_1564;
}
lean_ctor_set(x_1565, 0, x_1563);
return x_1565;
}
}
}
else
{
lean_object* x_1566; 
lean_dec(x_41);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_free_object(x_33);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1566 = lean_box(0);
lean_ctor_set(x_39, 0, x_1566);
return x_39;
}
}
else
{
lean_object* x_1567; 
x_1567 = lean_ctor_get(x_39, 0);
lean_inc(x_1567);
lean_dec(x_39);
if (lean_obj_tag(x_1567) == 1)
{
lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; 
x_1568 = lean_ctor_get(x_1567, 0);
lean_inc(x_1568);
if (lean_is_exclusive(x_1567)) {
 lean_ctor_release(x_1567, 0);
 x_1569 = x_1567;
} else {
 lean_dec_ref(x_1567);
 x_1569 = lean_box(0);
}
x_1570 = lean_ctor_get(x_1568, 0);
lean_inc(x_1570);
x_1571 = lean_ctor_get(x_1568, 1);
lean_inc(x_1571);
if (lean_is_exclusive(x_1568)) {
 lean_ctor_release(x_1568, 0);
 lean_ctor_release(x_1568, 1);
 x_1572 = x_1568;
} else {
 lean_dec_ref(x_1568);
 x_1572 = lean_box(0);
}
x_1573 = l_Lean_Meta_saveState___redArg(x_4, x_6);
if (lean_obj_tag(x_1573) == 0)
{
lean_object* x_1574; lean_object* x_1575; 
x_1574 = lean_ctor_get(x_1573, 0);
lean_inc(x_1574);
lean_dec_ref(x_1573);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
lean_inc(x_1570);
x_1575 = l_Lean_Meta_isExprDefEq(x_1570, x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1575) == 0)
{
lean_object* x_1576; lean_object* x_1577; uint8_t x_1578; 
x_1576 = lean_ctor_get(x_1575, 0);
lean_inc(x_1576);
if (lean_is_exclusive(x_1575)) {
 lean_ctor_release(x_1575, 0);
 x_1577 = x_1575;
} else {
 lean_dec_ref(x_1575);
 x_1577 = lean_box(0);
}
x_1578 = lean_unbox(x_1576);
lean_dec(x_1576);
if (x_1578 == 0)
{
lean_object* x_1579; lean_object* x_1580; uint8_t x_1581; 
lean_dec(x_1574);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
x_1579 = lean_ctor_get(x_5, 2);
x_1580 = l_Lean_Meta_coerceMonadLift_x3f___closed__0;
x_1581 = l_Lean_Option_get___at___00Lean_Meta_coerceMonadLift_x3f_spec__0(x_1579, x_1580);
if (x_1581 == 0)
{
lean_object* x_1582; lean_object* x_1583; 
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1582 = lean_box(0);
if (lean_is_scalar(x_1577)) {
 x_1583 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1583 = x_1577;
}
lean_ctor_set(x_1583, 0, x_1582);
return x_1583;
}
else
{
lean_object* x_1584; 
lean_dec(x_1577);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1570);
x_1584 = lean_infer_type(x_1570, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1584) == 0)
{
lean_object* x_1585; lean_object* x_1586; 
x_1585 = lean_ctor_get(x_1584, 0);
lean_inc(x_1585);
lean_dec_ref(x_1584);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1586 = lean_whnf(x_1585, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1586) == 0)
{
lean_object* x_1587; 
x_1587 = lean_ctor_get(x_1586, 0);
lean_inc(x_1587);
lean_dec_ref(x_1586);
if (lean_obj_tag(x_1587) == 7)
{
lean_object* x_1588; 
x_1588 = lean_ctor_get(x_1587, 1);
if (lean_obj_tag(x_1588) == 3)
{
lean_object* x_1589; 
x_1589 = lean_ctor_get(x_1587, 2);
if (lean_obj_tag(x_1589) == 3)
{
lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; 
lean_inc_ref(x_1589);
lean_inc_ref(x_1588);
lean_dec_ref(x_1587);
x_1590 = lean_ctor_get(x_1588, 0);
lean_inc(x_1590);
lean_dec_ref(x_1588);
x_1591 = lean_ctor_get(x_1589, 0);
lean_inc(x_1591);
lean_dec_ref(x_1589);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
x_1592 = lean_infer_type(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1592) == 0)
{
lean_object* x_1593; lean_object* x_1594; 
x_1593 = lean_ctor_get(x_1592, 0);
lean_inc(x_1593);
lean_dec_ref(x_1592);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1594 = lean_whnf(x_1593, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1594) == 0)
{
lean_object* x_1595; 
x_1595 = lean_ctor_get(x_1594, 0);
lean_inc(x_1595);
lean_dec_ref(x_1594);
if (lean_obj_tag(x_1595) == 7)
{
lean_object* x_1596; 
x_1596 = lean_ctor_get(x_1595, 1);
if (lean_obj_tag(x_1596) == 3)
{
lean_object* x_1597; 
x_1597 = lean_ctor_get(x_1595, 2);
if (lean_obj_tag(x_1597) == 3)
{
lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; 
lean_inc_ref(x_1597);
lean_inc_ref(x_1596);
lean_dec_ref(x_1595);
x_1598 = lean_ctor_get(x_1596, 0);
lean_inc(x_1598);
lean_dec_ref(x_1596);
x_1599 = lean_ctor_get(x_1597, 0);
lean_inc(x_1599);
lean_dec_ref(x_1597);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1600 = l_Lean_Meta_decLevel(x_1590, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1600) == 0)
{
lean_object* x_1601; lean_object* x_1602; 
x_1601 = lean_ctor_get(x_1600, 0);
lean_inc(x_1601);
lean_dec_ref(x_1600);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1602 = l_Lean_Meta_decLevel(x_1598, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1602) == 0)
{
lean_object* x_1603; lean_object* x_1604; 
x_1603 = lean_ctor_get(x_1602, 0);
lean_inc(x_1603);
lean_dec_ref(x_1602);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1601);
x_1604 = l_Lean_Meta_isLevelDefEq(x_1601, x_1603, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1604) == 0)
{
lean_object* x_1605; lean_object* x_1606; uint8_t x_1607; 
x_1605 = lean_ctor_get(x_1604, 0);
lean_inc(x_1605);
if (lean_is_exclusive(x_1604)) {
 lean_ctor_release(x_1604, 0);
 x_1606 = x_1604;
} else {
 lean_dec_ref(x_1604);
 x_1606 = lean_box(0);
}
x_1607 = lean_unbox(x_1605);
lean_dec(x_1605);
if (x_1607 == 1)
{
lean_object* x_1608; 
lean_dec(x_1606);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1608 = l_Lean_Meta_decLevel(x_1591, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1608) == 0)
{
lean_object* x_1609; lean_object* x_1610; 
x_1609 = lean_ctor_get(x_1608, 0);
lean_inc(x_1609);
lean_dec_ref(x_1608);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1610 = l_Lean_Meta_decLevel(x_1599, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1610) == 0)
{
lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; 
x_1611 = lean_ctor_get(x_1610, 0);
lean_inc(x_1611);
lean_dec_ref(x_1610);
x_1612 = l_Lean_Meta_coerceMonadLift_x3f___closed__2;
x_1613 = lean_box(0);
if (lean_is_scalar(x_1572)) {
 x_1614 = lean_alloc_ctor(1, 2, 0);
} else {
 x_1614 = x_1572;
 lean_ctor_set_tag(x_1614, 1);
}
lean_ctor_set(x_1614, 0, x_1611);
lean_ctor_set(x_1614, 1, x_1613);
lean_ctor_set_tag(x_35, 1);
lean_ctor_set(x_35, 1, x_1614);
lean_ctor_set(x_35, 0, x_1609);
x_1615 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1615, 0, x_1601);
lean_ctor_set(x_1615, 1, x_35);
x_1616 = l_Lean_Expr_const___override(x_1612, x_1615);
x_1617 = l_Lean_Meta_coerceMonadLift_x3f___closed__3;
lean_inc(x_1570);
x_1618 = lean_array_push(x_1617, x_1570);
lean_inc(x_37);
x_1619 = lean_array_push(x_1618, x_37);
x_1620 = l_Lean_mkAppN(x_1616, x_1619);
lean_dec_ref(x_1619);
x_1621 = lean_box(0);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1622 = l_Lean_Meta_trySynthInstance(x_1620, x_1621, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1622) == 0)
{
lean_object* x_1623; lean_object* x_1624; 
x_1623 = lean_ctor_get(x_1622, 0);
lean_inc(x_1623);
if (lean_is_exclusive(x_1622)) {
 lean_ctor_release(x_1622, 0);
 x_1624 = x_1622;
} else {
 lean_dec_ref(x_1622);
 x_1624 = lean_box(0);
}
if (lean_obj_tag(x_1623) == 1)
{
lean_object* x_1625; lean_object* x_1626; 
lean_dec(x_1624);
x_1625 = lean_ctor_get(x_1623, 0);
lean_inc(x_1625);
lean_dec_ref(x_1623);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1571);
x_1626 = l_Lean_Meta_getDecLevel(x_1571, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1626) == 0)
{
lean_object* x_1627; lean_object* x_1628; 
x_1627 = lean_ctor_get(x_1626, 0);
lean_inc(x_1627);
lean_dec_ref(x_1626);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1628 = l_Lean_Meta_getDecLevel(x_30, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1628) == 0)
{
lean_object* x_1629; lean_object* x_1630; 
x_1629 = lean_ctor_get(x_1628, 0);
lean_inc(x_1629);
lean_dec_ref(x_1628);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_1630 = l_Lean_Meta_getDecLevel(x_25, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1630) == 0)
{
lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; 
x_1631 = lean_ctor_get(x_1630, 0);
lean_inc(x_1631);
lean_dec_ref(x_1630);
x_1632 = l_Lean_Meta_coerceMonadLift_x3f___closed__5;
x_1633 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1633, 0, x_1631);
lean_ctor_set(x_1633, 1, x_1613);
x_1634 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1634, 0, x_1629);
lean_ctor_set(x_1634, 1, x_1633);
x_1635 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1635, 0, x_1627);
lean_ctor_set(x_1635, 1, x_1634);
lean_inc_ref(x_1635);
x_1636 = l_Lean_mkConst(x_1632, x_1635);
x_1637 = l_Lean_Meta_coerceMonadLift_x3f___closed__6;
lean_inc(x_1570);
x_1638 = lean_array_push(x_1637, x_1570);
lean_inc(x_37);
x_1639 = lean_array_push(x_1638, x_37);
lean_inc(x_1625);
x_1640 = lean_array_push(x_1639, x_1625);
lean_inc(x_1571);
x_1641 = lean_array_push(x_1640, x_1571);
lean_inc_ref(x_1);
x_1642 = lean_array_push(x_1641, x_1);
x_1643 = l_Lean_mkAppN(x_1636, x_1642);
lean_dec_ref(x_1642);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_1643);
x_1644 = lean_infer_type(x_1643, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1644) == 0)
{
lean_object* x_1645; lean_object* x_1646; 
x_1645 = lean_ctor_get(x_1644, 0);
lean_inc(x_1645);
lean_dec_ref(x_1644);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_1646 = l_Lean_Meta_isExprDefEq(x_25, x_1645, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1646) == 0)
{
lean_object* x_1647; lean_object* x_1648; uint8_t x_1649; 
x_1647 = lean_ctor_get(x_1646, 0);
lean_inc(x_1647);
if (lean_is_exclusive(x_1646)) {
 lean_ctor_release(x_1646, 0);
 x_1648 = x_1646;
} else {
 lean_dec_ref(x_1646);
 x_1648 = lean_box(0);
}
x_1649 = lean_unbox(x_1647);
lean_dec(x_1647);
if (x_1649 == 0)
{
lean_object* x_1650; 
lean_dec(x_1648);
lean_dec_ref(x_1643);
lean_dec(x_1569);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_37);
x_1650 = l_Lean_Meta_isMonad_x3f(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1650) == 0)
{
lean_object* x_1651; lean_object* x_1652; 
x_1651 = lean_ctor_get(x_1650, 0);
lean_inc(x_1651);
if (lean_is_exclusive(x_1650)) {
 lean_ctor_release(x_1650, 0);
 x_1652 = x_1650;
} else {
 lean_dec_ref(x_1650);
 x_1652 = lean_box(0);
}
if (lean_obj_tag(x_1651) == 1)
{
lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; 
lean_dec(x_1652);
x_1653 = lean_ctor_get(x_1651, 0);
lean_inc(x_1653);
if (lean_is_exclusive(x_1651)) {
 lean_ctor_release(x_1651, 0);
 x_1654 = x_1651;
} else {
 lean_dec_ref(x_1651);
 x_1654 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1571);
x_1655 = l_Lean_Meta_getLevel(x_1571, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1655) == 0)
{
lean_object* x_1656; lean_object* x_1657; 
x_1656 = lean_ctor_get(x_1655, 0);
lean_inc(x_1656);
lean_dec_ref(x_1655);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_38);
x_1657 = l_Lean_Meta_getLevel(x_38, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1657) == 0)
{
lean_object* x_1658; lean_object* x_1659; uint8_t x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; 
x_1658 = lean_ctor_get(x_1657, 0);
lean_inc(x_1658);
lean_dec_ref(x_1657);
x_1659 = l_Lean_Meta_coerceMonadLift_x3f___closed__8;
x_1660 = 0;
x_1661 = l_Lean_Meta_coerceSimple_x3f___closed__1;
x_1662 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1662, 0, x_1658);
lean_ctor_set(x_1662, 1, x_1613);
x_1663 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1663, 0, x_1656);
lean_ctor_set(x_1663, 1, x_1662);
x_1664 = l_Lean_mkConst(x_1661, x_1663);
x_1665 = l_Lean_Meta_coerceMonadLift_x3f___closed__9;
x_1666 = l_Lean_Meta_coerceSimple_x3f___closed__2;
lean_inc(x_1571);
x_1667 = lean_array_push(x_1666, x_1571);
x_1668 = lean_array_push(x_1667, x_1665);
lean_inc(x_38);
x_1669 = lean_array_push(x_1668, x_38);
x_1670 = l_Lean_mkAppN(x_1664, x_1669);
lean_dec_ref(x_1669);
lean_inc(x_1571);
x_1671 = l_Lean_mkForall(x_1659, x_1660, x_1571, x_1670);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1672 = l_Lean_Meta_trySynthInstance(x_1671, x_1621, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1672) == 0)
{
lean_object* x_1673; lean_object* x_1674; 
x_1673 = lean_ctor_get(x_1672, 0);
lean_inc(x_1673);
if (lean_is_exclusive(x_1672)) {
 lean_ctor_release(x_1672, 0);
 x_1674 = x_1672;
} else {
 lean_dec_ref(x_1672);
 x_1674 = lean_box(0);
}
if (lean_obj_tag(x_1673) == 1)
{
lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; 
lean_dec(x_1674);
x_1675 = lean_ctor_get(x_1673, 0);
lean_inc(x_1675);
lean_dec_ref(x_1673);
x_1676 = l_Lean_Meta_coerceMonadLift_x3f___closed__12;
x_1677 = l_Lean_mkConst(x_1676, x_1635);
x_1678 = l_Lean_Meta_coerceMonadLift_x3f___closed__13;
x_1679 = lean_array_push(x_1678, x_1570);
x_1680 = lean_array_push(x_1679, x_37);
x_1681 = lean_array_push(x_1680, x_1571);
x_1682 = lean_array_push(x_1681, x_38);
x_1683 = lean_array_push(x_1682, x_1625);
x_1684 = lean_array_push(x_1683, x_1675);
x_1685 = lean_array_push(x_1684, x_1653);
x_1686 = lean_array_push(x_1685, x_1);
x_1687 = l_Lean_mkAppN(x_1677, x_1686);
lean_dec_ref(x_1686);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1688 = l_Lean_Meta_expandCoe(x_1687, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1688) == 0)
{
lean_object* x_1689; lean_object* x_1690; 
x_1689 = lean_ctor_get(x_1688, 0);
lean_inc(x_1689);
lean_dec_ref(x_1688);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1689);
x_1690 = lean_infer_type(x_1689, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1690) == 0)
{
lean_object* x_1691; lean_object* x_1692; 
x_1691 = lean_ctor_get(x_1690, 0);
lean_inc(x_1691);
lean_dec_ref(x_1690);
x_1692 = l_Lean_Meta_isExprDefEq(x_25, x_1691, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1692) == 0)
{
lean_object* x_1693; lean_object* x_1694; uint8_t x_1695; 
x_1693 = lean_ctor_get(x_1692, 0);
lean_inc(x_1693);
if (lean_is_exclusive(x_1692)) {
 lean_ctor_release(x_1692, 0);
 x_1694 = x_1692;
} else {
 lean_dec_ref(x_1692);
 x_1694 = lean_box(0);
}
x_1695 = lean_unbox(x_1693);
lean_dec(x_1693);
if (x_1695 == 0)
{
lean_object* x_1696; 
lean_dec(x_1689);
lean_dec(x_1654);
if (lean_is_scalar(x_1694)) {
 x_1696 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1696 = x_1694;
}
lean_ctor_set(x_1696, 0, x_1621);
return x_1696;
}
else
{
lean_object* x_1697; lean_object* x_1698; 
if (lean_is_scalar(x_1654)) {
 x_1697 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1697 = x_1654;
}
lean_ctor_set(x_1697, 0, x_1689);
if (lean_is_scalar(x_1694)) {
 x_1698 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1698 = x_1694;
}
lean_ctor_set(x_1698, 0, x_1697);
return x_1698;
}
}
else
{
lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; 
lean_dec(x_1689);
lean_dec(x_1654);
x_1699 = lean_ctor_get(x_1692, 0);
lean_inc(x_1699);
if (lean_is_exclusive(x_1692)) {
 lean_ctor_release(x_1692, 0);
 x_1700 = x_1692;
} else {
 lean_dec_ref(x_1692);
 x_1700 = lean_box(0);
}
lean_inc(x_1699);
if (lean_is_scalar(x_1700)) {
 x_1701 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1701 = x_1700;
}
lean_ctor_set(x_1701, 0, x_1699);
x_14 = x_1701;
x_15 = x_1699;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; 
lean_dec(x_1689);
lean_dec(x_1654);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_1702 = lean_ctor_get(x_1690, 0);
lean_inc(x_1702);
if (lean_is_exclusive(x_1690)) {
 lean_ctor_release(x_1690, 0);
 x_1703 = x_1690;
} else {
 lean_dec_ref(x_1690);
 x_1703 = lean_box(0);
}
lean_inc(x_1702);
if (lean_is_scalar(x_1703)) {
 x_1704 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1704 = x_1703;
}
lean_ctor_set(x_1704, 0, x_1702);
x_14 = x_1704;
x_15 = x_1702;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; 
lean_dec(x_1654);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_1705 = lean_ctor_get(x_1688, 0);
lean_inc(x_1705);
if (lean_is_exclusive(x_1688)) {
 lean_ctor_release(x_1688, 0);
 x_1706 = x_1688;
} else {
 lean_dec_ref(x_1688);
 x_1706 = lean_box(0);
}
lean_inc(x_1705);
if (lean_is_scalar(x_1706)) {
 x_1707 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1707 = x_1706;
}
lean_ctor_set(x_1707, 0, x_1705);
x_14 = x_1707;
x_15 = x_1705;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1708; 
lean_dec(x_1673);
lean_dec(x_1654);
lean_dec(x_1653);
lean_dec_ref(x_1635);
lean_dec(x_1625);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_1674)) {
 x_1708 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1708 = x_1674;
}
lean_ctor_set(x_1708, 0, x_1621);
return x_1708;
}
}
else
{
lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; 
lean_dec(x_1654);
lean_dec(x_1653);
lean_dec_ref(x_1635);
lean_dec(x_1625);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1709 = lean_ctor_get(x_1672, 0);
lean_inc(x_1709);
if (lean_is_exclusive(x_1672)) {
 lean_ctor_release(x_1672, 0);
 x_1710 = x_1672;
} else {
 lean_dec_ref(x_1672);
 x_1710 = lean_box(0);
}
lean_inc(x_1709);
if (lean_is_scalar(x_1710)) {
 x_1711 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1711 = x_1710;
}
lean_ctor_set(x_1711, 0, x_1709);
x_14 = x_1711;
x_15 = x_1709;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; 
lean_dec(x_1656);
lean_dec(x_1654);
lean_dec(x_1653);
lean_dec_ref(x_1635);
lean_dec(x_1625);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1712 = lean_ctor_get(x_1657, 0);
lean_inc(x_1712);
if (lean_is_exclusive(x_1657)) {
 lean_ctor_release(x_1657, 0);
 x_1713 = x_1657;
} else {
 lean_dec_ref(x_1657);
 x_1713 = lean_box(0);
}
lean_inc(x_1712);
if (lean_is_scalar(x_1713)) {
 x_1714 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1714 = x_1713;
}
lean_ctor_set(x_1714, 0, x_1712);
x_14 = x_1714;
x_15 = x_1712;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; 
lean_dec(x_1654);
lean_dec(x_1653);
lean_dec_ref(x_1635);
lean_dec(x_1625);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1715 = lean_ctor_get(x_1655, 0);
lean_inc(x_1715);
if (lean_is_exclusive(x_1655)) {
 lean_ctor_release(x_1655, 0);
 x_1716 = x_1655;
} else {
 lean_dec_ref(x_1655);
 x_1716 = lean_box(0);
}
lean_inc(x_1715);
if (lean_is_scalar(x_1716)) {
 x_1717 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1717 = x_1716;
}
lean_ctor_set(x_1717, 0, x_1715);
x_14 = x_1717;
x_15 = x_1715;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1718; 
lean_dec(x_1651);
lean_dec_ref(x_1635);
lean_dec(x_1625);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_1652)) {
 x_1718 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1718 = x_1652;
}
lean_ctor_set(x_1718, 0, x_1621);
return x_1718;
}
}
else
{
lean_dec_ref(x_1635);
lean_dec(x_1625);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_20 = x_1650;
goto block_22;
}
}
else
{
lean_object* x_1719; lean_object* x_1720; 
lean_dec_ref(x_1635);
lean_dec(x_1625);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_1569)) {
 x_1719 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1719 = x_1569;
}
lean_ctor_set(x_1719, 0, x_1643);
if (lean_is_scalar(x_1648)) {
 x_1720 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1720 = x_1648;
}
lean_ctor_set(x_1720, 0, x_1719);
return x_1720;
}
}
else
{
lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; 
lean_dec_ref(x_1643);
lean_dec_ref(x_1635);
lean_dec(x_1625);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1721 = lean_ctor_get(x_1646, 0);
lean_inc(x_1721);
if (lean_is_exclusive(x_1646)) {
 lean_ctor_release(x_1646, 0);
 x_1722 = x_1646;
} else {
 lean_dec_ref(x_1646);
 x_1722 = lean_box(0);
}
lean_inc(x_1721);
if (lean_is_scalar(x_1722)) {
 x_1723 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1723 = x_1722;
}
lean_ctor_set(x_1723, 0, x_1721);
x_14 = x_1723;
x_15 = x_1721;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; 
lean_dec_ref(x_1643);
lean_dec_ref(x_1635);
lean_dec(x_1625);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1724 = lean_ctor_get(x_1644, 0);
lean_inc(x_1724);
if (lean_is_exclusive(x_1644)) {
 lean_ctor_release(x_1644, 0);
 x_1725 = x_1644;
} else {
 lean_dec_ref(x_1644);
 x_1725 = lean_box(0);
}
lean_inc(x_1724);
if (lean_is_scalar(x_1725)) {
 x_1726 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1726 = x_1725;
}
lean_ctor_set(x_1726, 0, x_1724);
x_14 = x_1726;
x_15 = x_1724;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; 
lean_dec(x_1629);
lean_dec(x_1627);
lean_dec(x_1625);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1727 = lean_ctor_get(x_1630, 0);
lean_inc(x_1727);
if (lean_is_exclusive(x_1630)) {
 lean_ctor_release(x_1630, 0);
 x_1728 = x_1630;
} else {
 lean_dec_ref(x_1630);
 x_1728 = lean_box(0);
}
lean_inc(x_1727);
if (lean_is_scalar(x_1728)) {
 x_1729 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1729 = x_1728;
}
lean_ctor_set(x_1729, 0, x_1727);
x_14 = x_1729;
x_15 = x_1727;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; 
lean_dec(x_1627);
lean_dec(x_1625);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1730 = lean_ctor_get(x_1628, 0);
lean_inc(x_1730);
if (lean_is_exclusive(x_1628)) {
 lean_ctor_release(x_1628, 0);
 x_1731 = x_1628;
} else {
 lean_dec_ref(x_1628);
 x_1731 = lean_box(0);
}
lean_inc(x_1730);
if (lean_is_scalar(x_1731)) {
 x_1732 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1732 = x_1731;
}
lean_ctor_set(x_1732, 0, x_1730);
x_14 = x_1732;
x_15 = x_1730;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; 
lean_dec(x_1625);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1733 = lean_ctor_get(x_1626, 0);
lean_inc(x_1733);
if (lean_is_exclusive(x_1626)) {
 lean_ctor_release(x_1626, 0);
 x_1734 = x_1626;
} else {
 lean_dec_ref(x_1626);
 x_1734 = lean_box(0);
}
lean_inc(x_1733);
if (lean_is_scalar(x_1734)) {
 x_1735 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1735 = x_1734;
}
lean_ctor_set(x_1735, 0, x_1733);
x_14 = x_1735;
x_15 = x_1733;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1736; 
lean_dec(x_1623);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_1624)) {
 x_1736 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1736 = x_1624;
}
lean_ctor_set(x_1736, 0, x_1621);
return x_1736;
}
}
else
{
lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; 
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1737 = lean_ctor_get(x_1622, 0);
lean_inc(x_1737);
if (lean_is_exclusive(x_1622)) {
 lean_ctor_release(x_1622, 0);
 x_1738 = x_1622;
} else {
 lean_dec_ref(x_1622);
 x_1738 = lean_box(0);
}
lean_inc(x_1737);
if (lean_is_scalar(x_1738)) {
 x_1739 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1739 = x_1738;
}
lean_ctor_set(x_1739, 0, x_1737);
x_14 = x_1739;
x_15 = x_1737;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; 
lean_dec(x_1609);
lean_dec(x_1601);
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1740 = lean_ctor_get(x_1610, 0);
lean_inc(x_1740);
if (lean_is_exclusive(x_1610)) {
 lean_ctor_release(x_1610, 0);
 x_1741 = x_1610;
} else {
 lean_dec_ref(x_1610);
 x_1741 = lean_box(0);
}
lean_inc(x_1740);
if (lean_is_scalar(x_1741)) {
 x_1742 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1742 = x_1741;
}
lean_ctor_set(x_1742, 0, x_1740);
x_14 = x_1742;
x_15 = x_1740;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; 
lean_dec(x_1601);
lean_dec(x_1599);
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1743 = lean_ctor_get(x_1608, 0);
lean_inc(x_1743);
if (lean_is_exclusive(x_1608)) {
 lean_ctor_release(x_1608, 0);
 x_1744 = x_1608;
} else {
 lean_dec_ref(x_1608);
 x_1744 = lean_box(0);
}
lean_inc(x_1743);
if (lean_is_scalar(x_1744)) {
 x_1745 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1745 = x_1744;
}
lean_ctor_set(x_1745, 0, x_1743);
x_14 = x_1745;
x_15 = x_1743;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1746; lean_object* x_1747; 
lean_dec(x_1601);
lean_dec(x_1599);
lean_dec(x_1591);
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1746 = lean_box(0);
if (lean_is_scalar(x_1606)) {
 x_1747 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1747 = x_1606;
}
lean_ctor_set(x_1747, 0, x_1746);
return x_1747;
}
}
else
{
lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; 
lean_dec(x_1601);
lean_dec(x_1599);
lean_dec(x_1591);
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1748 = lean_ctor_get(x_1604, 0);
lean_inc(x_1748);
if (lean_is_exclusive(x_1604)) {
 lean_ctor_release(x_1604, 0);
 x_1749 = x_1604;
} else {
 lean_dec_ref(x_1604);
 x_1749 = lean_box(0);
}
lean_inc(x_1748);
if (lean_is_scalar(x_1749)) {
 x_1750 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1750 = x_1749;
}
lean_ctor_set(x_1750, 0, x_1748);
x_14 = x_1750;
x_15 = x_1748;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; 
lean_dec(x_1601);
lean_dec(x_1599);
lean_dec(x_1591);
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1751 = lean_ctor_get(x_1602, 0);
lean_inc(x_1751);
if (lean_is_exclusive(x_1602)) {
 lean_ctor_release(x_1602, 0);
 x_1752 = x_1602;
} else {
 lean_dec_ref(x_1602);
 x_1752 = lean_box(0);
}
lean_inc(x_1751);
if (lean_is_scalar(x_1752)) {
 x_1753 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1753 = x_1752;
}
lean_ctor_set(x_1753, 0, x_1751);
x_14 = x_1753;
x_15 = x_1751;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; 
lean_dec(x_1599);
lean_dec(x_1598);
lean_dec(x_1591);
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1754 = lean_ctor_get(x_1600, 0);
lean_inc(x_1754);
if (lean_is_exclusive(x_1600)) {
 lean_ctor_release(x_1600, 0);
 x_1755 = x_1600;
} else {
 lean_dec_ref(x_1600);
 x_1755 = lean_box(0);
}
lean_inc(x_1754);
if (lean_is_scalar(x_1755)) {
 x_1756 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1756 = x_1755;
}
lean_ctor_set(x_1756, 0, x_1754);
x_14 = x_1756;
x_15 = x_1754;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1757; 
lean_dec(x_1591);
lean_dec(x_1590);
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1757 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1595, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1595);
x_20 = x_1757;
goto block_22;
}
}
else
{
lean_object* x_1758; 
lean_dec(x_1591);
lean_dec(x_1590);
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1758 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1595, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1595);
x_20 = x_1758;
goto block_22;
}
}
else
{
lean_object* x_1759; 
lean_dec(x_1591);
lean_dec(x_1590);
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1759 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1595, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_1595);
x_20 = x_1759;
goto block_22;
}
}
else
{
lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; 
lean_dec(x_1591);
lean_dec(x_1590);
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1760 = lean_ctor_get(x_1594, 0);
lean_inc(x_1760);
if (lean_is_exclusive(x_1594)) {
 lean_ctor_release(x_1594, 0);
 x_1761 = x_1594;
} else {
 lean_dec_ref(x_1594);
 x_1761 = lean_box(0);
}
lean_inc(x_1760);
if (lean_is_scalar(x_1761)) {
 x_1762 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1762 = x_1761;
}
lean_ctor_set(x_1762, 0, x_1760);
x_14 = x_1762;
x_15 = x_1760;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; 
lean_dec(x_1591);
lean_dec(x_1590);
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1763 = lean_ctor_get(x_1592, 0);
lean_inc(x_1763);
if (lean_is_exclusive(x_1592)) {
 lean_ctor_release(x_1592, 0);
 x_1764 = x_1592;
} else {
 lean_dec_ref(x_1592);
 x_1764 = lean_box(0);
}
lean_inc(x_1763);
if (lean_is_scalar(x_1764)) {
 x_1765 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1765 = x_1764;
}
lean_ctor_set(x_1765, 0, x_1763);
x_14 = x_1765;
x_15 = x_1763;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1766; 
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1766 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1587, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1587);
x_20 = x_1766;
goto block_22;
}
}
else
{
lean_object* x_1767; 
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1767 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1587, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1587);
x_20 = x_1767;
goto block_22;
}
}
else
{
lean_object* x_1768; 
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_1768 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1587, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_1587);
x_20 = x_1768;
goto block_22;
}
}
else
{
lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; 
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1769 = lean_ctor_get(x_1586, 0);
lean_inc(x_1769);
if (lean_is_exclusive(x_1586)) {
 lean_ctor_release(x_1586, 0);
 x_1770 = x_1586;
} else {
 lean_dec_ref(x_1586);
 x_1770 = lean_box(0);
}
lean_inc(x_1769);
if (lean_is_scalar(x_1770)) {
 x_1771 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1771 = x_1770;
}
lean_ctor_set(x_1771, 0, x_1769);
x_14 = x_1771;
x_15 = x_1769;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; 
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1772 = lean_ctor_get(x_1584, 0);
lean_inc(x_1772);
if (lean_is_exclusive(x_1584)) {
 lean_ctor_release(x_1584, 0);
 x_1773 = x_1584;
} else {
 lean_dec_ref(x_1584);
 x_1773 = lean_box(0);
}
lean_inc(x_1772);
if (lean_is_scalar(x_1773)) {
 x_1774 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1774 = x_1773;
}
lean_ctor_set(x_1774, 0, x_1772);
x_14 = x_1774;
x_15 = x_1772;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_object* x_1775; 
lean_dec(x_1577);
lean_dec(x_1572);
lean_free_object(x_35);
lean_dec(x_30);
lean_dec(x_25);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1775 = l_Lean_Meta_isMonad_x3f(x_37, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1775) == 0)
{
lean_object* x_1776; lean_object* x_1777; 
x_1776 = lean_ctor_get(x_1775, 0);
lean_inc(x_1776);
if (lean_is_exclusive(x_1775)) {
 lean_ctor_release(x_1775, 0);
 x_1777 = x_1775;
} else {
 lean_dec_ref(x_1775);
 x_1777 = lean_box(0);
}
if (lean_obj_tag(x_1776) == 1)
{
lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; uint8_t x_1783; lean_object* x_1792; lean_object* x_1793; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; 
x_1778 = l_Lean_Meta_coerceMonadLift_x3f___closed__15;
if (lean_is_scalar(x_1569)) {
 x_1779 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1779 = x_1569;
}
lean_ctor_set(x_1779, 0, x_1570);
lean_ctor_set(x_33, 0, x_1571);
lean_ctor_set_tag(x_28, 1);
lean_ctor_set(x_28, 0, x_38);
x_1780 = lean_box(0);
lean_ctor_set_tag(x_23, 1);
lean_ctor_set(x_23, 0, x_1);
x_1797 = l_Lean_Meta_coerceMonadLift_x3f___closed__16;
x_1798 = lean_array_push(x_1797, x_1779);
x_1799 = lean_array_push(x_1798, x_33);
x_1800 = lean_array_push(x_1799, x_28);
x_1801 = lean_array_push(x_1800, x_1780);
x_1802 = lean_array_push(x_1801, x_1776);
x_1803 = lean_array_push(x_1802, x_23);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1804 = l_Lean_Meta_mkAppOptM(x_1778, x_1803, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1804) == 0)
{
lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; 
x_1805 = lean_ctor_get(x_1804, 0);
lean_inc(x_1805);
if (lean_is_exclusive(x_1804)) {
 lean_ctor_release(x_1804, 0);
 x_1806 = x_1804;
} else {
 lean_dec_ref(x_1804);
 x_1806 = lean_box(0);
}
lean_inc(x_6);
lean_inc(x_4);
x_1807 = l_Lean_Meta_expandCoe(x_1805, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1807) == 0)
{
lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; 
lean_dec(x_1777);
lean_dec(x_1574);
lean_dec(x_6);
lean_dec(x_4);
x_1808 = lean_ctor_get(x_1807, 0);
lean_inc(x_1808);
if (lean_is_exclusive(x_1807)) {
 lean_ctor_release(x_1807, 0);
 x_1809 = x_1807;
} else {
 lean_dec_ref(x_1807);
 x_1809 = lean_box(0);
}
if (lean_is_scalar(x_1806)) {
 x_1810 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1810 = x_1806;
 lean_ctor_set_tag(x_1810, 1);
}
lean_ctor_set(x_1810, 0, x_1808);
if (lean_is_scalar(x_1809)) {
 x_1811 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1811 = x_1809;
}
lean_ctor_set(x_1811, 0, x_1810);
return x_1811;
}
else
{
lean_object* x_1812; 
lean_dec(x_1806);
x_1812 = lean_ctor_get(x_1807, 0);
lean_inc(x_1812);
lean_dec_ref(x_1807);
x_1792 = x_1812;
x_1793 = lean_box(0);
goto block_1796;
}
}
else
{
lean_object* x_1813; 
lean_dec_ref(x_5);
lean_dec_ref(x_3);
x_1813 = lean_ctor_get(x_1804, 0);
lean_inc(x_1813);
lean_dec_ref(x_1804);
x_1792 = x_1813;
x_1793 = lean_box(0);
goto block_1796;
}
block_1791:
{
if (x_1783 == 0)
{
lean_object* x_1784; 
lean_dec_ref(x_1781);
lean_dec(x_1777);
x_1784 = l_Lean_Meta_SavedState_restore___redArg(x_1574, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_1574);
if (lean_obj_tag(x_1784) == 0)
{
lean_object* x_1785; lean_object* x_1786; 
if (lean_is_exclusive(x_1784)) {
 lean_ctor_release(x_1784, 0);
 x_1785 = x_1784;
} else {
 lean_dec_ref(x_1784);
 x_1785 = lean_box(0);
}
if (lean_is_scalar(x_1785)) {
 x_1786 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1786 = x_1785;
}
lean_ctor_set(x_1786, 0, x_1780);
return x_1786;
}
else
{
lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; 
x_1787 = lean_ctor_get(x_1784, 0);
lean_inc(x_1787);
if (lean_is_exclusive(x_1784)) {
 lean_ctor_release(x_1784, 0);
 x_1788 = x_1784;
} else {
 lean_dec_ref(x_1784);
 x_1788 = lean_box(0);
}
if (lean_is_scalar(x_1788)) {
 x_1789 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1789 = x_1788;
}
lean_ctor_set(x_1789, 0, x_1787);
return x_1789;
}
}
else
{
lean_object* x_1790; 
lean_dec(x_1574);
lean_dec(x_6);
lean_dec(x_4);
if (lean_is_scalar(x_1777)) {
 x_1790 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1790 = x_1777;
 lean_ctor_set_tag(x_1790, 1);
}
lean_ctor_set(x_1790, 0, x_1781);
return x_1790;
}
}
block_1796:
{
uint8_t x_1794; 
x_1794 = l_Lean_Exception_isInterrupt(x_1792);
if (x_1794 == 0)
{
uint8_t x_1795; 
x_1795 = l_Lean_Exception_isRuntime(x_1792);
x_1781 = x_1792;
x_1782 = lean_box(0);
x_1783 = x_1795;
goto block_1791;
}
else
{
x_1781 = x_1792;
x_1782 = lean_box(0);
x_1783 = x_1794;
goto block_1791;
}
}
}
else
{
lean_object* x_1814; 
lean_dec(x_1777);
lean_dec(x_1776);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_dec(x_38);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
lean_dec_ref(x_5);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1814 = l_Lean_Meta_SavedState_restore___redArg(x_1574, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_1574);
if (lean_obj_tag(x_1814) == 0)
{
lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; 
if (lean_is_exclusive(x_1814)) {
 lean_ctor_release(x_1814, 0);
 x_1815 = x_1814;
} else {
 lean_dec_ref(x_1814);
 x_1815 = lean_box(0);
}
x_1816 = lean_box(0);
if (lean_is_scalar(x_1815)) {
 x_1817 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1817 = x_1815;
}
lean_ctor_set(x_1817, 0, x_1816);
return x_1817;
}
else
{
lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; 
x_1818 = lean_ctor_get(x_1814, 0);
lean_inc(x_1818);
if (lean_is_exclusive(x_1814)) {
 lean_ctor_release(x_1814, 0);
 x_1819 = x_1814;
} else {
 lean_dec_ref(x_1814);
 x_1819 = lean_box(0);
}
if (lean_is_scalar(x_1819)) {
 x_1820 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1820 = x_1819;
}
lean_ctor_set(x_1820, 0, x_1818);
return x_1820;
}
}
}
else
{
lean_dec(x_1574);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_dec(x_38);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
return x_1775;
}
}
}
else
{
lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; 
lean_dec(x_1574);
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_free_object(x_33);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1821 = lean_ctor_get(x_1575, 0);
lean_inc(x_1821);
if (lean_is_exclusive(x_1575)) {
 lean_ctor_release(x_1575, 0);
 x_1822 = x_1575;
} else {
 lean_dec_ref(x_1575);
 x_1822 = lean_box(0);
}
if (lean_is_scalar(x_1822)) {
 x_1823 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1823 = x_1822;
}
lean_ctor_set(x_1823, 0, x_1821);
return x_1823;
}
}
else
{
lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; 
lean_dec(x_1572);
lean_dec(x_1571);
lean_dec(x_1570);
lean_dec(x_1569);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_free_object(x_33);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1824 = lean_ctor_get(x_1573, 0);
lean_inc(x_1824);
if (lean_is_exclusive(x_1573)) {
 lean_ctor_release(x_1573, 0);
 x_1825 = x_1573;
} else {
 lean_dec_ref(x_1573);
 x_1825 = lean_box(0);
}
if (lean_is_scalar(x_1825)) {
 x_1826 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1826 = x_1825;
}
lean_ctor_set(x_1826, 0, x_1824);
return x_1826;
}
}
else
{
lean_object* x_1827; lean_object* x_1828; 
lean_dec(x_1567);
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_free_object(x_33);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1827 = lean_box(0);
x_1828 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1828, 0, x_1827);
return x_1828;
}
}
}
else
{
uint8_t x_1829; 
lean_free_object(x_35);
lean_dec(x_38);
lean_dec(x_37);
lean_free_object(x_33);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1829 = !lean_is_exclusive(x_39);
if (x_1829 == 0)
{
return x_39;
}
else
{
lean_object* x_1830; lean_object* x_1831; 
x_1830 = lean_ctor_get(x_39, 0);
lean_inc(x_1830);
lean_dec(x_39);
x_1831 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1831, 0, x_1830);
return x_1831;
}
}
}
else
{
lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; 
x_1832 = lean_ctor_get(x_35, 0);
x_1833 = lean_ctor_get(x_35, 1);
lean_inc(x_1833);
lean_inc(x_1832);
lean_dec(x_35);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_30);
x_1834 = l_Lean_Meta_isTypeApp_x3f(x_30, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1834) == 0)
{
lean_object* x_1835; lean_object* x_1836; 
x_1835 = lean_ctor_get(x_1834, 0);
lean_inc(x_1835);
if (lean_is_exclusive(x_1834)) {
 lean_ctor_release(x_1834, 0);
 x_1836 = x_1834;
} else {
 lean_dec_ref(x_1834);
 x_1836 = lean_box(0);
}
if (lean_obj_tag(x_1835) == 1)
{
lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; 
lean_dec(x_1836);
x_1837 = lean_ctor_get(x_1835, 0);
lean_inc(x_1837);
if (lean_is_exclusive(x_1835)) {
 lean_ctor_release(x_1835, 0);
 x_1838 = x_1835;
} else {
 lean_dec_ref(x_1835);
 x_1838 = lean_box(0);
}
x_1839 = lean_ctor_get(x_1837, 0);
lean_inc(x_1839);
x_1840 = lean_ctor_get(x_1837, 1);
lean_inc(x_1840);
if (lean_is_exclusive(x_1837)) {
 lean_ctor_release(x_1837, 0);
 lean_ctor_release(x_1837, 1);
 x_1841 = x_1837;
} else {
 lean_dec_ref(x_1837);
 x_1841 = lean_box(0);
}
x_1842 = l_Lean_Meta_saveState___redArg(x_4, x_6);
if (lean_obj_tag(x_1842) == 0)
{
lean_object* x_1843; lean_object* x_1844; 
x_1843 = lean_ctor_get(x_1842, 0);
lean_inc(x_1843);
lean_dec_ref(x_1842);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1832);
lean_inc(x_1839);
x_1844 = l_Lean_Meta_isExprDefEq(x_1839, x_1832, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1844) == 0)
{
lean_object* x_1845; lean_object* x_1846; uint8_t x_1847; 
x_1845 = lean_ctor_get(x_1844, 0);
lean_inc(x_1845);
if (lean_is_exclusive(x_1844)) {
 lean_ctor_release(x_1844, 0);
 x_1846 = x_1844;
} else {
 lean_dec_ref(x_1844);
 x_1846 = lean_box(0);
}
x_1847 = lean_unbox(x_1845);
lean_dec(x_1845);
if (x_1847 == 0)
{
lean_object* x_1848; lean_object* x_1849; uint8_t x_1850; 
lean_dec(x_1843);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
x_1848 = lean_ctor_get(x_5, 2);
x_1849 = l_Lean_Meta_coerceMonadLift_x3f___closed__0;
x_1850 = l_Lean_Option_get___at___00Lean_Meta_coerceMonadLift_x3f_spec__0(x_1848, x_1849);
if (x_1850 == 0)
{
lean_object* x_1851; lean_object* x_1852; 
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1851 = lean_box(0);
if (lean_is_scalar(x_1846)) {
 x_1852 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1852 = x_1846;
}
lean_ctor_set(x_1852, 0, x_1851);
return x_1852;
}
else
{
lean_object* x_1853; 
lean_dec(x_1846);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1839);
x_1853 = lean_infer_type(x_1839, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1853) == 0)
{
lean_object* x_1854; lean_object* x_1855; 
x_1854 = lean_ctor_get(x_1853, 0);
lean_inc(x_1854);
lean_dec_ref(x_1853);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1855 = lean_whnf(x_1854, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1855) == 0)
{
lean_object* x_1856; 
x_1856 = lean_ctor_get(x_1855, 0);
lean_inc(x_1856);
lean_dec_ref(x_1855);
if (lean_obj_tag(x_1856) == 7)
{
lean_object* x_1857; 
x_1857 = lean_ctor_get(x_1856, 1);
if (lean_obj_tag(x_1857) == 3)
{
lean_object* x_1858; 
x_1858 = lean_ctor_get(x_1856, 2);
if (lean_obj_tag(x_1858) == 3)
{
lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; 
lean_inc_ref(x_1858);
lean_inc_ref(x_1857);
lean_dec_ref(x_1856);
x_1859 = lean_ctor_get(x_1857, 0);
lean_inc(x_1859);
lean_dec_ref(x_1857);
x_1860 = lean_ctor_get(x_1858, 0);
lean_inc(x_1860);
lean_dec_ref(x_1858);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1832);
x_1861 = lean_infer_type(x_1832, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1861) == 0)
{
lean_object* x_1862; lean_object* x_1863; 
x_1862 = lean_ctor_get(x_1861, 0);
lean_inc(x_1862);
lean_dec_ref(x_1861);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1863 = lean_whnf(x_1862, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1863) == 0)
{
lean_object* x_1864; 
x_1864 = lean_ctor_get(x_1863, 0);
lean_inc(x_1864);
lean_dec_ref(x_1863);
if (lean_obj_tag(x_1864) == 7)
{
lean_object* x_1865; 
x_1865 = lean_ctor_get(x_1864, 1);
if (lean_obj_tag(x_1865) == 3)
{
lean_object* x_1866; 
x_1866 = lean_ctor_get(x_1864, 2);
if (lean_obj_tag(x_1866) == 3)
{
lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; 
lean_inc_ref(x_1866);
lean_inc_ref(x_1865);
lean_dec_ref(x_1864);
x_1867 = lean_ctor_get(x_1865, 0);
lean_inc(x_1867);
lean_dec_ref(x_1865);
x_1868 = lean_ctor_get(x_1866, 0);
lean_inc(x_1868);
lean_dec_ref(x_1866);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1869 = l_Lean_Meta_decLevel(x_1859, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1869) == 0)
{
lean_object* x_1870; lean_object* x_1871; 
x_1870 = lean_ctor_get(x_1869, 0);
lean_inc(x_1870);
lean_dec_ref(x_1869);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1871 = l_Lean_Meta_decLevel(x_1867, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1871) == 0)
{
lean_object* x_1872; lean_object* x_1873; 
x_1872 = lean_ctor_get(x_1871, 0);
lean_inc(x_1872);
lean_dec_ref(x_1871);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1870);
x_1873 = l_Lean_Meta_isLevelDefEq(x_1870, x_1872, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1873) == 0)
{
lean_object* x_1874; lean_object* x_1875; uint8_t x_1876; 
x_1874 = lean_ctor_get(x_1873, 0);
lean_inc(x_1874);
if (lean_is_exclusive(x_1873)) {
 lean_ctor_release(x_1873, 0);
 x_1875 = x_1873;
} else {
 lean_dec_ref(x_1873);
 x_1875 = lean_box(0);
}
x_1876 = lean_unbox(x_1874);
lean_dec(x_1874);
if (x_1876 == 1)
{
lean_object* x_1877; 
lean_dec(x_1875);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1877 = l_Lean_Meta_decLevel(x_1860, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1877) == 0)
{
lean_object* x_1878; lean_object* x_1879; 
x_1878 = lean_ctor_get(x_1877, 0);
lean_inc(x_1878);
lean_dec_ref(x_1877);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1879 = l_Lean_Meta_decLevel(x_1868, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1879) == 0)
{
lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; 
x_1880 = lean_ctor_get(x_1879, 0);
lean_inc(x_1880);
lean_dec_ref(x_1879);
x_1881 = l_Lean_Meta_coerceMonadLift_x3f___closed__2;
x_1882 = lean_box(0);
if (lean_is_scalar(x_1841)) {
 x_1883 = lean_alloc_ctor(1, 2, 0);
} else {
 x_1883 = x_1841;
 lean_ctor_set_tag(x_1883, 1);
}
lean_ctor_set(x_1883, 0, x_1880);
lean_ctor_set(x_1883, 1, x_1882);
x_1884 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1884, 0, x_1878);
lean_ctor_set(x_1884, 1, x_1883);
x_1885 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1885, 0, x_1870);
lean_ctor_set(x_1885, 1, x_1884);
x_1886 = l_Lean_Expr_const___override(x_1881, x_1885);
x_1887 = l_Lean_Meta_coerceMonadLift_x3f___closed__3;
lean_inc(x_1839);
x_1888 = lean_array_push(x_1887, x_1839);
lean_inc(x_1832);
x_1889 = lean_array_push(x_1888, x_1832);
x_1890 = l_Lean_mkAppN(x_1886, x_1889);
lean_dec_ref(x_1889);
x_1891 = lean_box(0);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1892 = l_Lean_Meta_trySynthInstance(x_1890, x_1891, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1892) == 0)
{
lean_object* x_1893; lean_object* x_1894; 
x_1893 = lean_ctor_get(x_1892, 0);
lean_inc(x_1893);
if (lean_is_exclusive(x_1892)) {
 lean_ctor_release(x_1892, 0);
 x_1894 = x_1892;
} else {
 lean_dec_ref(x_1892);
 x_1894 = lean_box(0);
}
if (lean_obj_tag(x_1893) == 1)
{
lean_object* x_1895; lean_object* x_1896; 
lean_dec(x_1894);
x_1895 = lean_ctor_get(x_1893, 0);
lean_inc(x_1895);
lean_dec_ref(x_1893);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1840);
x_1896 = l_Lean_Meta_getDecLevel(x_1840, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1896) == 0)
{
lean_object* x_1897; lean_object* x_1898; 
x_1897 = lean_ctor_get(x_1896, 0);
lean_inc(x_1897);
lean_dec_ref(x_1896);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1898 = l_Lean_Meta_getDecLevel(x_30, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1898) == 0)
{
lean_object* x_1899; lean_object* x_1900; 
x_1899 = lean_ctor_get(x_1898, 0);
lean_inc(x_1899);
lean_dec_ref(x_1898);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_1900 = l_Lean_Meta_getDecLevel(x_25, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1900) == 0)
{
lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; 
x_1901 = lean_ctor_get(x_1900, 0);
lean_inc(x_1901);
lean_dec_ref(x_1900);
x_1902 = l_Lean_Meta_coerceMonadLift_x3f___closed__5;
x_1903 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1903, 0, x_1901);
lean_ctor_set(x_1903, 1, x_1882);
x_1904 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1904, 0, x_1899);
lean_ctor_set(x_1904, 1, x_1903);
x_1905 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1905, 0, x_1897);
lean_ctor_set(x_1905, 1, x_1904);
lean_inc_ref(x_1905);
x_1906 = l_Lean_mkConst(x_1902, x_1905);
x_1907 = l_Lean_Meta_coerceMonadLift_x3f___closed__6;
lean_inc(x_1839);
x_1908 = lean_array_push(x_1907, x_1839);
lean_inc(x_1832);
x_1909 = lean_array_push(x_1908, x_1832);
lean_inc(x_1895);
x_1910 = lean_array_push(x_1909, x_1895);
lean_inc(x_1840);
x_1911 = lean_array_push(x_1910, x_1840);
lean_inc_ref(x_1);
x_1912 = lean_array_push(x_1911, x_1);
x_1913 = l_Lean_mkAppN(x_1906, x_1912);
lean_dec_ref(x_1912);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_1913);
x_1914 = lean_infer_type(x_1913, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1914) == 0)
{
lean_object* x_1915; lean_object* x_1916; 
x_1915 = lean_ctor_get(x_1914, 0);
lean_inc(x_1915);
lean_dec_ref(x_1914);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_1916 = l_Lean_Meta_isExprDefEq(x_25, x_1915, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1916) == 0)
{
lean_object* x_1917; lean_object* x_1918; uint8_t x_1919; 
x_1917 = lean_ctor_get(x_1916, 0);
lean_inc(x_1917);
if (lean_is_exclusive(x_1916)) {
 lean_ctor_release(x_1916, 0);
 x_1918 = x_1916;
} else {
 lean_dec_ref(x_1916);
 x_1918 = lean_box(0);
}
x_1919 = lean_unbox(x_1917);
lean_dec(x_1917);
if (x_1919 == 0)
{
lean_object* x_1920; 
lean_dec(x_1918);
lean_dec_ref(x_1913);
lean_dec(x_1838);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1832);
x_1920 = l_Lean_Meta_isMonad_x3f(x_1832, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1920) == 0)
{
lean_object* x_1921; lean_object* x_1922; 
x_1921 = lean_ctor_get(x_1920, 0);
lean_inc(x_1921);
if (lean_is_exclusive(x_1920)) {
 lean_ctor_release(x_1920, 0);
 x_1922 = x_1920;
} else {
 lean_dec_ref(x_1920);
 x_1922 = lean_box(0);
}
if (lean_obj_tag(x_1921) == 1)
{
lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; 
lean_dec(x_1922);
x_1923 = lean_ctor_get(x_1921, 0);
lean_inc(x_1923);
if (lean_is_exclusive(x_1921)) {
 lean_ctor_release(x_1921, 0);
 x_1924 = x_1921;
} else {
 lean_dec_ref(x_1921);
 x_1924 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1840);
x_1925 = l_Lean_Meta_getLevel(x_1840, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1925) == 0)
{
lean_object* x_1926; lean_object* x_1927; 
x_1926 = lean_ctor_get(x_1925, 0);
lean_inc(x_1926);
lean_dec_ref(x_1925);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1833);
x_1927 = l_Lean_Meta_getLevel(x_1833, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1927) == 0)
{
lean_object* x_1928; lean_object* x_1929; uint8_t x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; 
x_1928 = lean_ctor_get(x_1927, 0);
lean_inc(x_1928);
lean_dec_ref(x_1927);
x_1929 = l_Lean_Meta_coerceMonadLift_x3f___closed__8;
x_1930 = 0;
x_1931 = l_Lean_Meta_coerceSimple_x3f___closed__1;
x_1932 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1932, 0, x_1928);
lean_ctor_set(x_1932, 1, x_1882);
x_1933 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1933, 0, x_1926);
lean_ctor_set(x_1933, 1, x_1932);
x_1934 = l_Lean_mkConst(x_1931, x_1933);
x_1935 = l_Lean_Meta_coerceMonadLift_x3f___closed__9;
x_1936 = l_Lean_Meta_coerceSimple_x3f___closed__2;
lean_inc(x_1840);
x_1937 = lean_array_push(x_1936, x_1840);
x_1938 = lean_array_push(x_1937, x_1935);
lean_inc(x_1833);
x_1939 = lean_array_push(x_1938, x_1833);
x_1940 = l_Lean_mkAppN(x_1934, x_1939);
lean_dec_ref(x_1939);
lean_inc(x_1840);
x_1941 = l_Lean_mkForall(x_1929, x_1930, x_1840, x_1940);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1942 = l_Lean_Meta_trySynthInstance(x_1941, x_1891, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1942) == 0)
{
lean_object* x_1943; lean_object* x_1944; 
x_1943 = lean_ctor_get(x_1942, 0);
lean_inc(x_1943);
if (lean_is_exclusive(x_1942)) {
 lean_ctor_release(x_1942, 0);
 x_1944 = x_1942;
} else {
 lean_dec_ref(x_1942);
 x_1944 = lean_box(0);
}
if (lean_obj_tag(x_1943) == 1)
{
lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; 
lean_dec(x_1944);
x_1945 = lean_ctor_get(x_1943, 0);
lean_inc(x_1945);
lean_dec_ref(x_1943);
x_1946 = l_Lean_Meta_coerceMonadLift_x3f___closed__12;
x_1947 = l_Lean_mkConst(x_1946, x_1905);
x_1948 = l_Lean_Meta_coerceMonadLift_x3f___closed__13;
x_1949 = lean_array_push(x_1948, x_1839);
x_1950 = lean_array_push(x_1949, x_1832);
x_1951 = lean_array_push(x_1950, x_1840);
x_1952 = lean_array_push(x_1951, x_1833);
x_1953 = lean_array_push(x_1952, x_1895);
x_1954 = lean_array_push(x_1953, x_1945);
x_1955 = lean_array_push(x_1954, x_1923);
x_1956 = lean_array_push(x_1955, x_1);
x_1957 = l_Lean_mkAppN(x_1947, x_1956);
lean_dec_ref(x_1956);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_1958 = l_Lean_Meta_expandCoe(x_1957, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1958) == 0)
{
lean_object* x_1959; lean_object* x_1960; 
x_1959 = lean_ctor_get(x_1958, 0);
lean_inc(x_1959);
lean_dec_ref(x_1958);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_1959);
x_1960 = lean_infer_type(x_1959, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1960) == 0)
{
lean_object* x_1961; lean_object* x_1962; 
x_1961 = lean_ctor_get(x_1960, 0);
lean_inc(x_1961);
lean_dec_ref(x_1960);
x_1962 = l_Lean_Meta_isExprDefEq(x_25, x_1961, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_1962) == 0)
{
lean_object* x_1963; lean_object* x_1964; uint8_t x_1965; 
x_1963 = lean_ctor_get(x_1962, 0);
lean_inc(x_1963);
if (lean_is_exclusive(x_1962)) {
 lean_ctor_release(x_1962, 0);
 x_1964 = x_1962;
} else {
 lean_dec_ref(x_1962);
 x_1964 = lean_box(0);
}
x_1965 = lean_unbox(x_1963);
lean_dec(x_1963);
if (x_1965 == 0)
{
lean_object* x_1966; 
lean_dec(x_1959);
lean_dec(x_1924);
if (lean_is_scalar(x_1964)) {
 x_1966 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1966 = x_1964;
}
lean_ctor_set(x_1966, 0, x_1891);
return x_1966;
}
else
{
lean_object* x_1967; lean_object* x_1968; 
if (lean_is_scalar(x_1924)) {
 x_1967 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1967 = x_1924;
}
lean_ctor_set(x_1967, 0, x_1959);
if (lean_is_scalar(x_1964)) {
 x_1968 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1968 = x_1964;
}
lean_ctor_set(x_1968, 0, x_1967);
return x_1968;
}
}
else
{
lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; 
lean_dec(x_1959);
lean_dec(x_1924);
x_1969 = lean_ctor_get(x_1962, 0);
lean_inc(x_1969);
if (lean_is_exclusive(x_1962)) {
 lean_ctor_release(x_1962, 0);
 x_1970 = x_1962;
} else {
 lean_dec_ref(x_1962);
 x_1970 = lean_box(0);
}
lean_inc(x_1969);
if (lean_is_scalar(x_1970)) {
 x_1971 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1971 = x_1970;
}
lean_ctor_set(x_1971, 0, x_1969);
x_14 = x_1971;
x_15 = x_1969;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; 
lean_dec(x_1959);
lean_dec(x_1924);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_1972 = lean_ctor_get(x_1960, 0);
lean_inc(x_1972);
if (lean_is_exclusive(x_1960)) {
 lean_ctor_release(x_1960, 0);
 x_1973 = x_1960;
} else {
 lean_dec_ref(x_1960);
 x_1973 = lean_box(0);
}
lean_inc(x_1972);
if (lean_is_scalar(x_1973)) {
 x_1974 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1974 = x_1973;
}
lean_ctor_set(x_1974, 0, x_1972);
x_14 = x_1974;
x_15 = x_1972;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; 
lean_dec(x_1924);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_1975 = lean_ctor_get(x_1958, 0);
lean_inc(x_1975);
if (lean_is_exclusive(x_1958)) {
 lean_ctor_release(x_1958, 0);
 x_1976 = x_1958;
} else {
 lean_dec_ref(x_1958);
 x_1976 = lean_box(0);
}
lean_inc(x_1975);
if (lean_is_scalar(x_1976)) {
 x_1977 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1977 = x_1976;
}
lean_ctor_set(x_1977, 0, x_1975);
x_14 = x_1977;
x_15 = x_1975;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1978; 
lean_dec(x_1943);
lean_dec(x_1924);
lean_dec(x_1923);
lean_dec_ref(x_1905);
lean_dec(x_1895);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_1944)) {
 x_1978 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1978 = x_1944;
}
lean_ctor_set(x_1978, 0, x_1891);
return x_1978;
}
}
else
{
lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; 
lean_dec(x_1924);
lean_dec(x_1923);
lean_dec_ref(x_1905);
lean_dec(x_1895);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1979 = lean_ctor_get(x_1942, 0);
lean_inc(x_1979);
if (lean_is_exclusive(x_1942)) {
 lean_ctor_release(x_1942, 0);
 x_1980 = x_1942;
} else {
 lean_dec_ref(x_1942);
 x_1980 = lean_box(0);
}
lean_inc(x_1979);
if (lean_is_scalar(x_1980)) {
 x_1981 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1981 = x_1980;
}
lean_ctor_set(x_1981, 0, x_1979);
x_14 = x_1981;
x_15 = x_1979;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; 
lean_dec(x_1926);
lean_dec(x_1924);
lean_dec(x_1923);
lean_dec_ref(x_1905);
lean_dec(x_1895);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1982 = lean_ctor_get(x_1927, 0);
lean_inc(x_1982);
if (lean_is_exclusive(x_1927)) {
 lean_ctor_release(x_1927, 0);
 x_1983 = x_1927;
} else {
 lean_dec_ref(x_1927);
 x_1983 = lean_box(0);
}
lean_inc(x_1982);
if (lean_is_scalar(x_1983)) {
 x_1984 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1984 = x_1983;
}
lean_ctor_set(x_1984, 0, x_1982);
x_14 = x_1984;
x_15 = x_1982;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; 
lean_dec(x_1924);
lean_dec(x_1923);
lean_dec_ref(x_1905);
lean_dec(x_1895);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1985 = lean_ctor_get(x_1925, 0);
lean_inc(x_1985);
if (lean_is_exclusive(x_1925)) {
 lean_ctor_release(x_1925, 0);
 x_1986 = x_1925;
} else {
 lean_dec_ref(x_1925);
 x_1986 = lean_box(0);
}
lean_inc(x_1985);
if (lean_is_scalar(x_1986)) {
 x_1987 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1987 = x_1986;
}
lean_ctor_set(x_1987, 0, x_1985);
x_14 = x_1987;
x_15 = x_1985;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1988; 
lean_dec(x_1921);
lean_dec_ref(x_1905);
lean_dec(x_1895);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_1922)) {
 x_1988 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1988 = x_1922;
}
lean_ctor_set(x_1988, 0, x_1891);
return x_1988;
}
}
else
{
lean_dec_ref(x_1905);
lean_dec(x_1895);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_20 = x_1920;
goto block_22;
}
}
else
{
lean_object* x_1989; lean_object* x_1990; 
lean_dec_ref(x_1905);
lean_dec(x_1895);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_1838)) {
 x_1989 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1989 = x_1838;
}
lean_ctor_set(x_1989, 0, x_1913);
if (lean_is_scalar(x_1918)) {
 x_1990 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1990 = x_1918;
}
lean_ctor_set(x_1990, 0, x_1989);
return x_1990;
}
}
else
{
lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; 
lean_dec_ref(x_1913);
lean_dec_ref(x_1905);
lean_dec(x_1895);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1991 = lean_ctor_get(x_1916, 0);
lean_inc(x_1991);
if (lean_is_exclusive(x_1916)) {
 lean_ctor_release(x_1916, 0);
 x_1992 = x_1916;
} else {
 lean_dec_ref(x_1916);
 x_1992 = lean_box(0);
}
lean_inc(x_1991);
if (lean_is_scalar(x_1992)) {
 x_1993 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1993 = x_1992;
}
lean_ctor_set(x_1993, 0, x_1991);
x_14 = x_1993;
x_15 = x_1991;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; 
lean_dec_ref(x_1913);
lean_dec_ref(x_1905);
lean_dec(x_1895);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1994 = lean_ctor_get(x_1914, 0);
lean_inc(x_1994);
if (lean_is_exclusive(x_1914)) {
 lean_ctor_release(x_1914, 0);
 x_1995 = x_1914;
} else {
 lean_dec_ref(x_1914);
 x_1995 = lean_box(0);
}
lean_inc(x_1994);
if (lean_is_scalar(x_1995)) {
 x_1996 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1996 = x_1995;
}
lean_ctor_set(x_1996, 0, x_1994);
x_14 = x_1996;
x_15 = x_1994;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_1997; lean_object* x_1998; lean_object* x_1999; 
lean_dec(x_1899);
lean_dec(x_1897);
lean_dec(x_1895);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_1997 = lean_ctor_get(x_1900, 0);
lean_inc(x_1997);
if (lean_is_exclusive(x_1900)) {
 lean_ctor_release(x_1900, 0);
 x_1998 = x_1900;
} else {
 lean_dec_ref(x_1900);
 x_1998 = lean_box(0);
}
lean_inc(x_1997);
if (lean_is_scalar(x_1998)) {
 x_1999 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1999 = x_1998;
}
lean_ctor_set(x_1999, 0, x_1997);
x_14 = x_1999;
x_15 = x_1997;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; 
lean_dec(x_1897);
lean_dec(x_1895);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2000 = lean_ctor_get(x_1898, 0);
lean_inc(x_2000);
if (lean_is_exclusive(x_1898)) {
 lean_ctor_release(x_1898, 0);
 x_2001 = x_1898;
} else {
 lean_dec_ref(x_1898);
 x_2001 = lean_box(0);
}
lean_inc(x_2000);
if (lean_is_scalar(x_2001)) {
 x_2002 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2002 = x_2001;
}
lean_ctor_set(x_2002, 0, x_2000);
x_14 = x_2002;
x_15 = x_2000;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; 
lean_dec(x_1895);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2003 = lean_ctor_get(x_1896, 0);
lean_inc(x_2003);
if (lean_is_exclusive(x_1896)) {
 lean_ctor_release(x_1896, 0);
 x_2004 = x_1896;
} else {
 lean_dec_ref(x_1896);
 x_2004 = lean_box(0);
}
lean_inc(x_2003);
if (lean_is_scalar(x_2004)) {
 x_2005 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2005 = x_2004;
}
lean_ctor_set(x_2005, 0, x_2003);
x_14 = x_2005;
x_15 = x_2003;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2006; 
lean_dec(x_1893);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_1894)) {
 x_2006 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2006 = x_1894;
}
lean_ctor_set(x_2006, 0, x_1891);
return x_2006;
}
}
else
{
lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; 
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2007 = lean_ctor_get(x_1892, 0);
lean_inc(x_2007);
if (lean_is_exclusive(x_1892)) {
 lean_ctor_release(x_1892, 0);
 x_2008 = x_1892;
} else {
 lean_dec_ref(x_1892);
 x_2008 = lean_box(0);
}
lean_inc(x_2007);
if (lean_is_scalar(x_2008)) {
 x_2009 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2009 = x_2008;
}
lean_ctor_set(x_2009, 0, x_2007);
x_14 = x_2009;
x_15 = x_2007;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2010; lean_object* x_2011; lean_object* x_2012; 
lean_dec(x_1878);
lean_dec(x_1870);
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2010 = lean_ctor_get(x_1879, 0);
lean_inc(x_2010);
if (lean_is_exclusive(x_1879)) {
 lean_ctor_release(x_1879, 0);
 x_2011 = x_1879;
} else {
 lean_dec_ref(x_1879);
 x_2011 = lean_box(0);
}
lean_inc(x_2010);
if (lean_is_scalar(x_2011)) {
 x_2012 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2012 = x_2011;
}
lean_ctor_set(x_2012, 0, x_2010);
x_14 = x_2012;
x_15 = x_2010;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2013; lean_object* x_2014; lean_object* x_2015; 
lean_dec(x_1870);
lean_dec(x_1868);
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2013 = lean_ctor_get(x_1877, 0);
lean_inc(x_2013);
if (lean_is_exclusive(x_1877)) {
 lean_ctor_release(x_1877, 0);
 x_2014 = x_1877;
} else {
 lean_dec_ref(x_1877);
 x_2014 = lean_box(0);
}
lean_inc(x_2013);
if (lean_is_scalar(x_2014)) {
 x_2015 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2015 = x_2014;
}
lean_ctor_set(x_2015, 0, x_2013);
x_14 = x_2015;
x_15 = x_2013;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2016; lean_object* x_2017; 
lean_dec(x_1870);
lean_dec(x_1868);
lean_dec(x_1860);
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2016 = lean_box(0);
if (lean_is_scalar(x_1875)) {
 x_2017 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2017 = x_1875;
}
lean_ctor_set(x_2017, 0, x_2016);
return x_2017;
}
}
else
{
lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; 
lean_dec(x_1870);
lean_dec(x_1868);
lean_dec(x_1860);
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2018 = lean_ctor_get(x_1873, 0);
lean_inc(x_2018);
if (lean_is_exclusive(x_1873)) {
 lean_ctor_release(x_1873, 0);
 x_2019 = x_1873;
} else {
 lean_dec_ref(x_1873);
 x_2019 = lean_box(0);
}
lean_inc(x_2018);
if (lean_is_scalar(x_2019)) {
 x_2020 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2020 = x_2019;
}
lean_ctor_set(x_2020, 0, x_2018);
x_14 = x_2020;
x_15 = x_2018;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; 
lean_dec(x_1870);
lean_dec(x_1868);
lean_dec(x_1860);
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2021 = lean_ctor_get(x_1871, 0);
lean_inc(x_2021);
if (lean_is_exclusive(x_1871)) {
 lean_ctor_release(x_1871, 0);
 x_2022 = x_1871;
} else {
 lean_dec_ref(x_1871);
 x_2022 = lean_box(0);
}
lean_inc(x_2021);
if (lean_is_scalar(x_2022)) {
 x_2023 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2023 = x_2022;
}
lean_ctor_set(x_2023, 0, x_2021);
x_14 = x_2023;
x_15 = x_2021;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; 
lean_dec(x_1868);
lean_dec(x_1867);
lean_dec(x_1860);
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2024 = lean_ctor_get(x_1869, 0);
lean_inc(x_2024);
if (lean_is_exclusive(x_1869)) {
 lean_ctor_release(x_1869, 0);
 x_2025 = x_1869;
} else {
 lean_dec_ref(x_1869);
 x_2025 = lean_box(0);
}
lean_inc(x_2024);
if (lean_is_scalar(x_2025)) {
 x_2026 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2026 = x_2025;
}
lean_ctor_set(x_2026, 0, x_2024);
x_14 = x_2026;
x_15 = x_2024;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2027; 
lean_dec(x_1860);
lean_dec(x_1859);
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2027 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1864, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1864);
x_20 = x_2027;
goto block_22;
}
}
else
{
lean_object* x_2028; 
lean_dec(x_1860);
lean_dec(x_1859);
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2028 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1864, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1864);
x_20 = x_2028;
goto block_22;
}
}
else
{
lean_object* x_2029; 
lean_dec(x_1860);
lean_dec(x_1859);
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2029 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1864, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_1864);
x_20 = x_2029;
goto block_22;
}
}
else
{
lean_object* x_2030; lean_object* x_2031; lean_object* x_2032; 
lean_dec(x_1860);
lean_dec(x_1859);
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2030 = lean_ctor_get(x_1863, 0);
lean_inc(x_2030);
if (lean_is_exclusive(x_1863)) {
 lean_ctor_release(x_1863, 0);
 x_2031 = x_1863;
} else {
 lean_dec_ref(x_1863);
 x_2031 = lean_box(0);
}
lean_inc(x_2030);
if (lean_is_scalar(x_2031)) {
 x_2032 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2032 = x_2031;
}
lean_ctor_set(x_2032, 0, x_2030);
x_14 = x_2032;
x_15 = x_2030;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; 
lean_dec(x_1860);
lean_dec(x_1859);
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2033 = lean_ctor_get(x_1861, 0);
lean_inc(x_2033);
if (lean_is_exclusive(x_1861)) {
 lean_ctor_release(x_1861, 0);
 x_2034 = x_1861;
} else {
 lean_dec_ref(x_1861);
 x_2034 = lean_box(0);
}
lean_inc(x_2033);
if (lean_is_scalar(x_2034)) {
 x_2035 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2035 = x_2034;
}
lean_ctor_set(x_2035, 0, x_2033);
x_14 = x_2035;
x_15 = x_2033;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2036; 
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2036 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1856, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1856);
x_20 = x_2036;
goto block_22;
}
}
else
{
lean_object* x_2037; 
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2037 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1856, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1856);
x_20 = x_2037;
goto block_22;
}
}
else
{
lean_object* x_2038; 
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2038 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1856, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_1856);
x_20 = x_2038;
goto block_22;
}
}
else
{
lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; 
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2039 = lean_ctor_get(x_1855, 0);
lean_inc(x_2039);
if (lean_is_exclusive(x_1855)) {
 lean_ctor_release(x_1855, 0);
 x_2040 = x_1855;
} else {
 lean_dec_ref(x_1855);
 x_2040 = lean_box(0);
}
lean_inc(x_2039);
if (lean_is_scalar(x_2040)) {
 x_2041 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2041 = x_2040;
}
lean_ctor_set(x_2041, 0, x_2039);
x_14 = x_2041;
x_15 = x_2039;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; 
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2042 = lean_ctor_get(x_1853, 0);
lean_inc(x_2042);
if (lean_is_exclusive(x_1853)) {
 lean_ctor_release(x_1853, 0);
 x_2043 = x_1853;
} else {
 lean_dec_ref(x_1853);
 x_2043 = lean_box(0);
}
lean_inc(x_2042);
if (lean_is_scalar(x_2043)) {
 x_2044 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2044 = x_2043;
}
lean_ctor_set(x_2044, 0, x_2042);
x_14 = x_2044;
x_15 = x_2042;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_object* x_2045; 
lean_dec(x_1846);
lean_dec(x_1841);
lean_dec(x_30);
lean_dec(x_25);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2045 = l_Lean_Meta_isMonad_x3f(x_1832, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2045) == 0)
{
lean_object* x_2046; lean_object* x_2047; 
x_2046 = lean_ctor_get(x_2045, 0);
lean_inc(x_2046);
if (lean_is_exclusive(x_2045)) {
 lean_ctor_release(x_2045, 0);
 x_2047 = x_2045;
} else {
 lean_dec_ref(x_2045);
 x_2047 = lean_box(0);
}
if (lean_obj_tag(x_2046) == 1)
{
lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; lean_object* x_2052; uint8_t x_2053; lean_object* x_2062; lean_object* x_2063; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; lean_object* x_2074; 
x_2048 = l_Lean_Meta_coerceMonadLift_x3f___closed__15;
if (lean_is_scalar(x_1838)) {
 x_2049 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2049 = x_1838;
}
lean_ctor_set(x_2049, 0, x_1839);
lean_ctor_set(x_33, 0, x_1840);
lean_ctor_set_tag(x_28, 1);
lean_ctor_set(x_28, 0, x_1833);
x_2050 = lean_box(0);
lean_ctor_set_tag(x_23, 1);
lean_ctor_set(x_23, 0, x_1);
x_2067 = l_Lean_Meta_coerceMonadLift_x3f___closed__16;
x_2068 = lean_array_push(x_2067, x_2049);
x_2069 = lean_array_push(x_2068, x_33);
x_2070 = lean_array_push(x_2069, x_28);
x_2071 = lean_array_push(x_2070, x_2050);
x_2072 = lean_array_push(x_2071, x_2046);
x_2073 = lean_array_push(x_2072, x_23);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2074 = l_Lean_Meta_mkAppOptM(x_2048, x_2073, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2074) == 0)
{
lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; 
x_2075 = lean_ctor_get(x_2074, 0);
lean_inc(x_2075);
if (lean_is_exclusive(x_2074)) {
 lean_ctor_release(x_2074, 0);
 x_2076 = x_2074;
} else {
 lean_dec_ref(x_2074);
 x_2076 = lean_box(0);
}
lean_inc(x_6);
lean_inc(x_4);
x_2077 = l_Lean_Meta_expandCoe(x_2075, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2077) == 0)
{
lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; 
lean_dec(x_2047);
lean_dec(x_1843);
lean_dec(x_6);
lean_dec(x_4);
x_2078 = lean_ctor_get(x_2077, 0);
lean_inc(x_2078);
if (lean_is_exclusive(x_2077)) {
 lean_ctor_release(x_2077, 0);
 x_2079 = x_2077;
} else {
 lean_dec_ref(x_2077);
 x_2079 = lean_box(0);
}
if (lean_is_scalar(x_2076)) {
 x_2080 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2080 = x_2076;
 lean_ctor_set_tag(x_2080, 1);
}
lean_ctor_set(x_2080, 0, x_2078);
if (lean_is_scalar(x_2079)) {
 x_2081 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2081 = x_2079;
}
lean_ctor_set(x_2081, 0, x_2080);
return x_2081;
}
else
{
lean_object* x_2082; 
lean_dec(x_2076);
x_2082 = lean_ctor_get(x_2077, 0);
lean_inc(x_2082);
lean_dec_ref(x_2077);
x_2062 = x_2082;
x_2063 = lean_box(0);
goto block_2066;
}
}
else
{
lean_object* x_2083; 
lean_dec_ref(x_5);
lean_dec_ref(x_3);
x_2083 = lean_ctor_get(x_2074, 0);
lean_inc(x_2083);
lean_dec_ref(x_2074);
x_2062 = x_2083;
x_2063 = lean_box(0);
goto block_2066;
}
block_2061:
{
if (x_2053 == 0)
{
lean_object* x_2054; 
lean_dec_ref(x_2051);
lean_dec(x_2047);
x_2054 = l_Lean_Meta_SavedState_restore___redArg(x_1843, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_1843);
if (lean_obj_tag(x_2054) == 0)
{
lean_object* x_2055; lean_object* x_2056; 
if (lean_is_exclusive(x_2054)) {
 lean_ctor_release(x_2054, 0);
 x_2055 = x_2054;
} else {
 lean_dec_ref(x_2054);
 x_2055 = lean_box(0);
}
if (lean_is_scalar(x_2055)) {
 x_2056 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2056 = x_2055;
}
lean_ctor_set(x_2056, 0, x_2050);
return x_2056;
}
else
{
lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; 
x_2057 = lean_ctor_get(x_2054, 0);
lean_inc(x_2057);
if (lean_is_exclusive(x_2054)) {
 lean_ctor_release(x_2054, 0);
 x_2058 = x_2054;
} else {
 lean_dec_ref(x_2054);
 x_2058 = lean_box(0);
}
if (lean_is_scalar(x_2058)) {
 x_2059 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2059 = x_2058;
}
lean_ctor_set(x_2059, 0, x_2057);
return x_2059;
}
}
else
{
lean_object* x_2060; 
lean_dec(x_1843);
lean_dec(x_6);
lean_dec(x_4);
if (lean_is_scalar(x_2047)) {
 x_2060 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2060 = x_2047;
 lean_ctor_set_tag(x_2060, 1);
}
lean_ctor_set(x_2060, 0, x_2051);
return x_2060;
}
}
block_2066:
{
uint8_t x_2064; 
x_2064 = l_Lean_Exception_isInterrupt(x_2062);
if (x_2064 == 0)
{
uint8_t x_2065; 
x_2065 = l_Lean_Exception_isRuntime(x_2062);
x_2051 = x_2062;
x_2052 = lean_box(0);
x_2053 = x_2065;
goto block_2061;
}
else
{
x_2051 = x_2062;
x_2052 = lean_box(0);
x_2053 = x_2064;
goto block_2061;
}
}
}
else
{
lean_object* x_2084; 
lean_dec(x_2047);
lean_dec(x_2046);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
lean_dec_ref(x_5);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2084 = l_Lean_Meta_SavedState_restore___redArg(x_1843, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_1843);
if (lean_obj_tag(x_2084) == 0)
{
lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; 
if (lean_is_exclusive(x_2084)) {
 lean_ctor_release(x_2084, 0);
 x_2085 = x_2084;
} else {
 lean_dec_ref(x_2084);
 x_2085 = lean_box(0);
}
x_2086 = lean_box(0);
if (lean_is_scalar(x_2085)) {
 x_2087 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2087 = x_2085;
}
lean_ctor_set(x_2087, 0, x_2086);
return x_2087;
}
else
{
lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; 
x_2088 = lean_ctor_get(x_2084, 0);
lean_inc(x_2088);
if (lean_is_exclusive(x_2084)) {
 lean_ctor_release(x_2084, 0);
 x_2089 = x_2084;
} else {
 lean_dec_ref(x_2084);
 x_2089 = lean_box(0);
}
if (lean_is_scalar(x_2089)) {
 x_2090 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2090 = x_2089;
}
lean_ctor_set(x_2090, 0, x_2088);
return x_2090;
}
}
}
else
{
lean_dec(x_1843);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_free_object(x_33);
lean_free_object(x_28);
lean_free_object(x_23);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
return x_2045;
}
}
}
else
{
lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; 
lean_dec(x_1843);
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_free_object(x_33);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2091 = lean_ctor_get(x_1844, 0);
lean_inc(x_2091);
if (lean_is_exclusive(x_1844)) {
 lean_ctor_release(x_1844, 0);
 x_2092 = x_1844;
} else {
 lean_dec_ref(x_1844);
 x_2092 = lean_box(0);
}
if (lean_is_scalar(x_2092)) {
 x_2093 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2093 = x_2092;
}
lean_ctor_set(x_2093, 0, x_2091);
return x_2093;
}
}
else
{
lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; 
lean_dec(x_1841);
lean_dec(x_1840);
lean_dec(x_1839);
lean_dec(x_1838);
lean_dec(x_1833);
lean_dec(x_1832);
lean_free_object(x_33);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2094 = lean_ctor_get(x_1842, 0);
lean_inc(x_2094);
if (lean_is_exclusive(x_1842)) {
 lean_ctor_release(x_1842, 0);
 x_2095 = x_1842;
} else {
 lean_dec_ref(x_1842);
 x_2095 = lean_box(0);
}
if (lean_is_scalar(x_2095)) {
 x_2096 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2096 = x_2095;
}
lean_ctor_set(x_2096, 0, x_2094);
return x_2096;
}
}
else
{
lean_object* x_2097; lean_object* x_2098; 
lean_dec(x_1835);
lean_dec(x_1833);
lean_dec(x_1832);
lean_free_object(x_33);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2097 = lean_box(0);
if (lean_is_scalar(x_1836)) {
 x_2098 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2098 = x_1836;
}
lean_ctor_set(x_2098, 0, x_2097);
return x_2098;
}
}
else
{
lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; 
lean_dec(x_1833);
lean_dec(x_1832);
lean_free_object(x_33);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2099 = lean_ctor_get(x_1834, 0);
lean_inc(x_2099);
if (lean_is_exclusive(x_1834)) {
 lean_ctor_release(x_1834, 0);
 x_2100 = x_1834;
} else {
 lean_dec_ref(x_1834);
 x_2100 = lean_box(0);
}
if (lean_is_scalar(x_2100)) {
 x_2101 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2101 = x_2100;
}
lean_ctor_set(x_2101, 0, x_2099);
return x_2101;
}
}
}
else
{
lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; 
x_2102 = lean_ctor_get(x_33, 0);
lean_inc(x_2102);
lean_dec(x_33);
x_2103 = lean_ctor_get(x_2102, 0);
lean_inc(x_2103);
x_2104 = lean_ctor_get(x_2102, 1);
lean_inc(x_2104);
if (lean_is_exclusive(x_2102)) {
 lean_ctor_release(x_2102, 0);
 lean_ctor_release(x_2102, 1);
 x_2105 = x_2102;
} else {
 lean_dec_ref(x_2102);
 x_2105 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_30);
x_2106 = l_Lean_Meta_isTypeApp_x3f(x_30, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2106) == 0)
{
lean_object* x_2107; lean_object* x_2108; 
x_2107 = lean_ctor_get(x_2106, 0);
lean_inc(x_2107);
if (lean_is_exclusive(x_2106)) {
 lean_ctor_release(x_2106, 0);
 x_2108 = x_2106;
} else {
 lean_dec_ref(x_2106);
 x_2108 = lean_box(0);
}
if (lean_obj_tag(x_2107) == 1)
{
lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; 
lean_dec(x_2108);
x_2109 = lean_ctor_get(x_2107, 0);
lean_inc(x_2109);
if (lean_is_exclusive(x_2107)) {
 lean_ctor_release(x_2107, 0);
 x_2110 = x_2107;
} else {
 lean_dec_ref(x_2107);
 x_2110 = lean_box(0);
}
x_2111 = lean_ctor_get(x_2109, 0);
lean_inc(x_2111);
x_2112 = lean_ctor_get(x_2109, 1);
lean_inc(x_2112);
if (lean_is_exclusive(x_2109)) {
 lean_ctor_release(x_2109, 0);
 lean_ctor_release(x_2109, 1);
 x_2113 = x_2109;
} else {
 lean_dec_ref(x_2109);
 x_2113 = lean_box(0);
}
x_2114 = l_Lean_Meta_saveState___redArg(x_4, x_6);
if (lean_obj_tag(x_2114) == 0)
{
lean_object* x_2115; lean_object* x_2116; 
x_2115 = lean_ctor_get(x_2114, 0);
lean_inc(x_2115);
lean_dec_ref(x_2114);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2103);
lean_inc(x_2111);
x_2116 = l_Lean_Meta_isExprDefEq(x_2111, x_2103, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2116) == 0)
{
lean_object* x_2117; lean_object* x_2118; uint8_t x_2119; 
x_2117 = lean_ctor_get(x_2116, 0);
lean_inc(x_2117);
if (lean_is_exclusive(x_2116)) {
 lean_ctor_release(x_2116, 0);
 x_2118 = x_2116;
} else {
 lean_dec_ref(x_2116);
 x_2118 = lean_box(0);
}
x_2119 = lean_unbox(x_2117);
lean_dec(x_2117);
if (x_2119 == 0)
{
lean_object* x_2120; lean_object* x_2121; uint8_t x_2122; 
lean_dec(x_2115);
lean_free_object(x_28);
lean_free_object(x_23);
x_2120 = lean_ctor_get(x_5, 2);
x_2121 = l_Lean_Meta_coerceMonadLift_x3f___closed__0;
x_2122 = l_Lean_Option_get___at___00Lean_Meta_coerceMonadLift_x3f_spec__0(x_2120, x_2121);
if (x_2122 == 0)
{
lean_object* x_2123; lean_object* x_2124; 
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2123 = lean_box(0);
if (lean_is_scalar(x_2118)) {
 x_2124 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2124 = x_2118;
}
lean_ctor_set(x_2124, 0, x_2123);
return x_2124;
}
else
{
lean_object* x_2125; 
lean_dec(x_2118);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2111);
x_2125 = lean_infer_type(x_2111, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2125) == 0)
{
lean_object* x_2126; lean_object* x_2127; 
x_2126 = lean_ctor_get(x_2125, 0);
lean_inc(x_2126);
lean_dec_ref(x_2125);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2127 = lean_whnf(x_2126, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2127) == 0)
{
lean_object* x_2128; 
x_2128 = lean_ctor_get(x_2127, 0);
lean_inc(x_2128);
lean_dec_ref(x_2127);
if (lean_obj_tag(x_2128) == 7)
{
lean_object* x_2129; 
x_2129 = lean_ctor_get(x_2128, 1);
if (lean_obj_tag(x_2129) == 3)
{
lean_object* x_2130; 
x_2130 = lean_ctor_get(x_2128, 2);
if (lean_obj_tag(x_2130) == 3)
{
lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; 
lean_inc_ref(x_2130);
lean_inc_ref(x_2129);
lean_dec_ref(x_2128);
x_2131 = lean_ctor_get(x_2129, 0);
lean_inc(x_2131);
lean_dec_ref(x_2129);
x_2132 = lean_ctor_get(x_2130, 0);
lean_inc(x_2132);
lean_dec_ref(x_2130);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2103);
x_2133 = lean_infer_type(x_2103, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2133) == 0)
{
lean_object* x_2134; lean_object* x_2135; 
x_2134 = lean_ctor_get(x_2133, 0);
lean_inc(x_2134);
lean_dec_ref(x_2133);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2135 = lean_whnf(x_2134, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2135) == 0)
{
lean_object* x_2136; 
x_2136 = lean_ctor_get(x_2135, 0);
lean_inc(x_2136);
lean_dec_ref(x_2135);
if (lean_obj_tag(x_2136) == 7)
{
lean_object* x_2137; 
x_2137 = lean_ctor_get(x_2136, 1);
if (lean_obj_tag(x_2137) == 3)
{
lean_object* x_2138; 
x_2138 = lean_ctor_get(x_2136, 2);
if (lean_obj_tag(x_2138) == 3)
{
lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; 
lean_inc_ref(x_2138);
lean_inc_ref(x_2137);
lean_dec_ref(x_2136);
x_2139 = lean_ctor_get(x_2137, 0);
lean_inc(x_2139);
lean_dec_ref(x_2137);
x_2140 = lean_ctor_get(x_2138, 0);
lean_inc(x_2140);
lean_dec_ref(x_2138);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2141 = l_Lean_Meta_decLevel(x_2131, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2141) == 0)
{
lean_object* x_2142; lean_object* x_2143; 
x_2142 = lean_ctor_get(x_2141, 0);
lean_inc(x_2142);
lean_dec_ref(x_2141);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2143 = l_Lean_Meta_decLevel(x_2139, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2143) == 0)
{
lean_object* x_2144; lean_object* x_2145; 
x_2144 = lean_ctor_get(x_2143, 0);
lean_inc(x_2144);
lean_dec_ref(x_2143);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2142);
x_2145 = l_Lean_Meta_isLevelDefEq(x_2142, x_2144, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2145) == 0)
{
lean_object* x_2146; lean_object* x_2147; uint8_t x_2148; 
x_2146 = lean_ctor_get(x_2145, 0);
lean_inc(x_2146);
if (lean_is_exclusive(x_2145)) {
 lean_ctor_release(x_2145, 0);
 x_2147 = x_2145;
} else {
 lean_dec_ref(x_2145);
 x_2147 = lean_box(0);
}
x_2148 = lean_unbox(x_2146);
lean_dec(x_2146);
if (x_2148 == 1)
{
lean_object* x_2149; 
lean_dec(x_2147);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2149 = l_Lean_Meta_decLevel(x_2132, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2149) == 0)
{
lean_object* x_2150; lean_object* x_2151; 
x_2150 = lean_ctor_get(x_2149, 0);
lean_inc(x_2150);
lean_dec_ref(x_2149);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2151 = l_Lean_Meta_decLevel(x_2140, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2151) == 0)
{
lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; 
x_2152 = lean_ctor_get(x_2151, 0);
lean_inc(x_2152);
lean_dec_ref(x_2151);
x_2153 = l_Lean_Meta_coerceMonadLift_x3f___closed__2;
x_2154 = lean_box(0);
if (lean_is_scalar(x_2113)) {
 x_2155 = lean_alloc_ctor(1, 2, 0);
} else {
 x_2155 = x_2113;
 lean_ctor_set_tag(x_2155, 1);
}
lean_ctor_set(x_2155, 0, x_2152);
lean_ctor_set(x_2155, 1, x_2154);
if (lean_is_scalar(x_2105)) {
 x_2156 = lean_alloc_ctor(1, 2, 0);
} else {
 x_2156 = x_2105;
 lean_ctor_set_tag(x_2156, 1);
}
lean_ctor_set(x_2156, 0, x_2150);
lean_ctor_set(x_2156, 1, x_2155);
x_2157 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2157, 0, x_2142);
lean_ctor_set(x_2157, 1, x_2156);
x_2158 = l_Lean_Expr_const___override(x_2153, x_2157);
x_2159 = l_Lean_Meta_coerceMonadLift_x3f___closed__3;
lean_inc(x_2111);
x_2160 = lean_array_push(x_2159, x_2111);
lean_inc(x_2103);
x_2161 = lean_array_push(x_2160, x_2103);
x_2162 = l_Lean_mkAppN(x_2158, x_2161);
lean_dec_ref(x_2161);
x_2163 = lean_box(0);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2164 = l_Lean_Meta_trySynthInstance(x_2162, x_2163, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2164) == 0)
{
lean_object* x_2165; lean_object* x_2166; 
x_2165 = lean_ctor_get(x_2164, 0);
lean_inc(x_2165);
if (lean_is_exclusive(x_2164)) {
 lean_ctor_release(x_2164, 0);
 x_2166 = x_2164;
} else {
 lean_dec_ref(x_2164);
 x_2166 = lean_box(0);
}
if (lean_obj_tag(x_2165) == 1)
{
lean_object* x_2167; lean_object* x_2168; 
lean_dec(x_2166);
x_2167 = lean_ctor_get(x_2165, 0);
lean_inc(x_2167);
lean_dec_ref(x_2165);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2112);
x_2168 = l_Lean_Meta_getDecLevel(x_2112, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2168) == 0)
{
lean_object* x_2169; lean_object* x_2170; 
x_2169 = lean_ctor_get(x_2168, 0);
lean_inc(x_2169);
lean_dec_ref(x_2168);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2170 = l_Lean_Meta_getDecLevel(x_30, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2170) == 0)
{
lean_object* x_2171; lean_object* x_2172; 
x_2171 = lean_ctor_get(x_2170, 0);
lean_inc(x_2171);
lean_dec_ref(x_2170);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_2172 = l_Lean_Meta_getDecLevel(x_25, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2172) == 0)
{
lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; lean_object* x_2179; lean_object* x_2180; lean_object* x_2181; lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; lean_object* x_2186; 
x_2173 = lean_ctor_get(x_2172, 0);
lean_inc(x_2173);
lean_dec_ref(x_2172);
x_2174 = l_Lean_Meta_coerceMonadLift_x3f___closed__5;
x_2175 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2175, 0, x_2173);
lean_ctor_set(x_2175, 1, x_2154);
x_2176 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2176, 0, x_2171);
lean_ctor_set(x_2176, 1, x_2175);
x_2177 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2177, 0, x_2169);
lean_ctor_set(x_2177, 1, x_2176);
lean_inc_ref(x_2177);
x_2178 = l_Lean_mkConst(x_2174, x_2177);
x_2179 = l_Lean_Meta_coerceMonadLift_x3f___closed__6;
lean_inc(x_2111);
x_2180 = lean_array_push(x_2179, x_2111);
lean_inc(x_2103);
x_2181 = lean_array_push(x_2180, x_2103);
lean_inc(x_2167);
x_2182 = lean_array_push(x_2181, x_2167);
lean_inc(x_2112);
x_2183 = lean_array_push(x_2182, x_2112);
lean_inc_ref(x_1);
x_2184 = lean_array_push(x_2183, x_1);
x_2185 = l_Lean_mkAppN(x_2178, x_2184);
lean_dec_ref(x_2184);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_2185);
x_2186 = lean_infer_type(x_2185, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2186) == 0)
{
lean_object* x_2187; lean_object* x_2188; 
x_2187 = lean_ctor_get(x_2186, 0);
lean_inc(x_2187);
lean_dec_ref(x_2186);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_2188 = l_Lean_Meta_isExprDefEq(x_25, x_2187, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2188) == 0)
{
lean_object* x_2189; lean_object* x_2190; uint8_t x_2191; 
x_2189 = lean_ctor_get(x_2188, 0);
lean_inc(x_2189);
if (lean_is_exclusive(x_2188)) {
 lean_ctor_release(x_2188, 0);
 x_2190 = x_2188;
} else {
 lean_dec_ref(x_2188);
 x_2190 = lean_box(0);
}
x_2191 = lean_unbox(x_2189);
lean_dec(x_2189);
if (x_2191 == 0)
{
lean_object* x_2192; 
lean_dec(x_2190);
lean_dec_ref(x_2185);
lean_dec(x_2110);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2103);
x_2192 = l_Lean_Meta_isMonad_x3f(x_2103, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2192) == 0)
{
lean_object* x_2193; lean_object* x_2194; 
x_2193 = lean_ctor_get(x_2192, 0);
lean_inc(x_2193);
if (lean_is_exclusive(x_2192)) {
 lean_ctor_release(x_2192, 0);
 x_2194 = x_2192;
} else {
 lean_dec_ref(x_2192);
 x_2194 = lean_box(0);
}
if (lean_obj_tag(x_2193) == 1)
{
lean_object* x_2195; lean_object* x_2196; lean_object* x_2197; 
lean_dec(x_2194);
x_2195 = lean_ctor_get(x_2193, 0);
lean_inc(x_2195);
if (lean_is_exclusive(x_2193)) {
 lean_ctor_release(x_2193, 0);
 x_2196 = x_2193;
} else {
 lean_dec_ref(x_2193);
 x_2196 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2112);
x_2197 = l_Lean_Meta_getLevel(x_2112, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2197) == 0)
{
lean_object* x_2198; lean_object* x_2199; 
x_2198 = lean_ctor_get(x_2197, 0);
lean_inc(x_2198);
lean_dec_ref(x_2197);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2104);
x_2199 = l_Lean_Meta_getLevel(x_2104, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2199) == 0)
{
lean_object* x_2200; lean_object* x_2201; uint8_t x_2202; lean_object* x_2203; lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; lean_object* x_2209; lean_object* x_2210; lean_object* x_2211; lean_object* x_2212; lean_object* x_2213; lean_object* x_2214; 
x_2200 = lean_ctor_get(x_2199, 0);
lean_inc(x_2200);
lean_dec_ref(x_2199);
x_2201 = l_Lean_Meta_coerceMonadLift_x3f___closed__8;
x_2202 = 0;
x_2203 = l_Lean_Meta_coerceSimple_x3f___closed__1;
x_2204 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2204, 0, x_2200);
lean_ctor_set(x_2204, 1, x_2154);
x_2205 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2205, 0, x_2198);
lean_ctor_set(x_2205, 1, x_2204);
x_2206 = l_Lean_mkConst(x_2203, x_2205);
x_2207 = l_Lean_Meta_coerceMonadLift_x3f___closed__9;
x_2208 = l_Lean_Meta_coerceSimple_x3f___closed__2;
lean_inc(x_2112);
x_2209 = lean_array_push(x_2208, x_2112);
x_2210 = lean_array_push(x_2209, x_2207);
lean_inc(x_2104);
x_2211 = lean_array_push(x_2210, x_2104);
x_2212 = l_Lean_mkAppN(x_2206, x_2211);
lean_dec_ref(x_2211);
lean_inc(x_2112);
x_2213 = l_Lean_mkForall(x_2201, x_2202, x_2112, x_2212);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2214 = l_Lean_Meta_trySynthInstance(x_2213, x_2163, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2214) == 0)
{
lean_object* x_2215; lean_object* x_2216; 
x_2215 = lean_ctor_get(x_2214, 0);
lean_inc(x_2215);
if (lean_is_exclusive(x_2214)) {
 lean_ctor_release(x_2214, 0);
 x_2216 = x_2214;
} else {
 lean_dec_ref(x_2214);
 x_2216 = lean_box(0);
}
if (lean_obj_tag(x_2215) == 1)
{
lean_object* x_2217; lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; lean_object* x_2223; lean_object* x_2224; lean_object* x_2225; lean_object* x_2226; lean_object* x_2227; lean_object* x_2228; lean_object* x_2229; lean_object* x_2230; 
lean_dec(x_2216);
x_2217 = lean_ctor_get(x_2215, 0);
lean_inc(x_2217);
lean_dec_ref(x_2215);
x_2218 = l_Lean_Meta_coerceMonadLift_x3f___closed__12;
x_2219 = l_Lean_mkConst(x_2218, x_2177);
x_2220 = l_Lean_Meta_coerceMonadLift_x3f___closed__13;
x_2221 = lean_array_push(x_2220, x_2111);
x_2222 = lean_array_push(x_2221, x_2103);
x_2223 = lean_array_push(x_2222, x_2112);
x_2224 = lean_array_push(x_2223, x_2104);
x_2225 = lean_array_push(x_2224, x_2167);
x_2226 = lean_array_push(x_2225, x_2217);
x_2227 = lean_array_push(x_2226, x_2195);
x_2228 = lean_array_push(x_2227, x_1);
x_2229 = l_Lean_mkAppN(x_2219, x_2228);
lean_dec_ref(x_2228);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2230 = l_Lean_Meta_expandCoe(x_2229, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2230) == 0)
{
lean_object* x_2231; lean_object* x_2232; 
x_2231 = lean_ctor_get(x_2230, 0);
lean_inc(x_2231);
lean_dec_ref(x_2230);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2231);
x_2232 = lean_infer_type(x_2231, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2232) == 0)
{
lean_object* x_2233; lean_object* x_2234; 
x_2233 = lean_ctor_get(x_2232, 0);
lean_inc(x_2233);
lean_dec_ref(x_2232);
x_2234 = l_Lean_Meta_isExprDefEq(x_25, x_2233, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2234) == 0)
{
lean_object* x_2235; lean_object* x_2236; uint8_t x_2237; 
x_2235 = lean_ctor_get(x_2234, 0);
lean_inc(x_2235);
if (lean_is_exclusive(x_2234)) {
 lean_ctor_release(x_2234, 0);
 x_2236 = x_2234;
} else {
 lean_dec_ref(x_2234);
 x_2236 = lean_box(0);
}
x_2237 = lean_unbox(x_2235);
lean_dec(x_2235);
if (x_2237 == 0)
{
lean_object* x_2238; 
lean_dec(x_2231);
lean_dec(x_2196);
if (lean_is_scalar(x_2236)) {
 x_2238 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2238 = x_2236;
}
lean_ctor_set(x_2238, 0, x_2163);
return x_2238;
}
else
{
lean_object* x_2239; lean_object* x_2240; 
if (lean_is_scalar(x_2196)) {
 x_2239 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2239 = x_2196;
}
lean_ctor_set(x_2239, 0, x_2231);
if (lean_is_scalar(x_2236)) {
 x_2240 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2240 = x_2236;
}
lean_ctor_set(x_2240, 0, x_2239);
return x_2240;
}
}
else
{
lean_object* x_2241; lean_object* x_2242; lean_object* x_2243; 
lean_dec(x_2231);
lean_dec(x_2196);
x_2241 = lean_ctor_get(x_2234, 0);
lean_inc(x_2241);
if (lean_is_exclusive(x_2234)) {
 lean_ctor_release(x_2234, 0);
 x_2242 = x_2234;
} else {
 lean_dec_ref(x_2234);
 x_2242 = lean_box(0);
}
lean_inc(x_2241);
if (lean_is_scalar(x_2242)) {
 x_2243 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2243 = x_2242;
}
lean_ctor_set(x_2243, 0, x_2241);
x_14 = x_2243;
x_15 = x_2241;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2244; lean_object* x_2245; lean_object* x_2246; 
lean_dec(x_2231);
lean_dec(x_2196);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_2244 = lean_ctor_get(x_2232, 0);
lean_inc(x_2244);
if (lean_is_exclusive(x_2232)) {
 lean_ctor_release(x_2232, 0);
 x_2245 = x_2232;
} else {
 lean_dec_ref(x_2232);
 x_2245 = lean_box(0);
}
lean_inc(x_2244);
if (lean_is_scalar(x_2245)) {
 x_2246 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2246 = x_2245;
}
lean_ctor_set(x_2246, 0, x_2244);
x_14 = x_2246;
x_15 = x_2244;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; 
lean_dec(x_2196);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_2247 = lean_ctor_get(x_2230, 0);
lean_inc(x_2247);
if (lean_is_exclusive(x_2230)) {
 lean_ctor_release(x_2230, 0);
 x_2248 = x_2230;
} else {
 lean_dec_ref(x_2230);
 x_2248 = lean_box(0);
}
lean_inc(x_2247);
if (lean_is_scalar(x_2248)) {
 x_2249 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2249 = x_2248;
}
lean_ctor_set(x_2249, 0, x_2247);
x_14 = x_2249;
x_15 = x_2247;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2250; 
lean_dec(x_2215);
lean_dec(x_2196);
lean_dec(x_2195);
lean_dec_ref(x_2177);
lean_dec(x_2167);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_2216)) {
 x_2250 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2250 = x_2216;
}
lean_ctor_set(x_2250, 0, x_2163);
return x_2250;
}
}
else
{
lean_object* x_2251; lean_object* x_2252; lean_object* x_2253; 
lean_dec(x_2196);
lean_dec(x_2195);
lean_dec_ref(x_2177);
lean_dec(x_2167);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2251 = lean_ctor_get(x_2214, 0);
lean_inc(x_2251);
if (lean_is_exclusive(x_2214)) {
 lean_ctor_release(x_2214, 0);
 x_2252 = x_2214;
} else {
 lean_dec_ref(x_2214);
 x_2252 = lean_box(0);
}
lean_inc(x_2251);
if (lean_is_scalar(x_2252)) {
 x_2253 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2253 = x_2252;
}
lean_ctor_set(x_2253, 0, x_2251);
x_14 = x_2253;
x_15 = x_2251;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2254; lean_object* x_2255; lean_object* x_2256; 
lean_dec(x_2198);
lean_dec(x_2196);
lean_dec(x_2195);
lean_dec_ref(x_2177);
lean_dec(x_2167);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2254 = lean_ctor_get(x_2199, 0);
lean_inc(x_2254);
if (lean_is_exclusive(x_2199)) {
 lean_ctor_release(x_2199, 0);
 x_2255 = x_2199;
} else {
 lean_dec_ref(x_2199);
 x_2255 = lean_box(0);
}
lean_inc(x_2254);
if (lean_is_scalar(x_2255)) {
 x_2256 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2256 = x_2255;
}
lean_ctor_set(x_2256, 0, x_2254);
x_14 = x_2256;
x_15 = x_2254;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2257; lean_object* x_2258; lean_object* x_2259; 
lean_dec(x_2196);
lean_dec(x_2195);
lean_dec_ref(x_2177);
lean_dec(x_2167);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2257 = lean_ctor_get(x_2197, 0);
lean_inc(x_2257);
if (lean_is_exclusive(x_2197)) {
 lean_ctor_release(x_2197, 0);
 x_2258 = x_2197;
} else {
 lean_dec_ref(x_2197);
 x_2258 = lean_box(0);
}
lean_inc(x_2257);
if (lean_is_scalar(x_2258)) {
 x_2259 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2259 = x_2258;
}
lean_ctor_set(x_2259, 0, x_2257);
x_14 = x_2259;
x_15 = x_2257;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2260; 
lean_dec(x_2193);
lean_dec_ref(x_2177);
lean_dec(x_2167);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_2194)) {
 x_2260 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2260 = x_2194;
}
lean_ctor_set(x_2260, 0, x_2163);
return x_2260;
}
}
else
{
lean_dec_ref(x_2177);
lean_dec(x_2167);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_20 = x_2192;
goto block_22;
}
}
else
{
lean_object* x_2261; lean_object* x_2262; 
lean_dec_ref(x_2177);
lean_dec(x_2167);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_2110)) {
 x_2261 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2261 = x_2110;
}
lean_ctor_set(x_2261, 0, x_2185);
if (lean_is_scalar(x_2190)) {
 x_2262 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2262 = x_2190;
}
lean_ctor_set(x_2262, 0, x_2261);
return x_2262;
}
}
else
{
lean_object* x_2263; lean_object* x_2264; lean_object* x_2265; 
lean_dec_ref(x_2185);
lean_dec_ref(x_2177);
lean_dec(x_2167);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2263 = lean_ctor_get(x_2188, 0);
lean_inc(x_2263);
if (lean_is_exclusive(x_2188)) {
 lean_ctor_release(x_2188, 0);
 x_2264 = x_2188;
} else {
 lean_dec_ref(x_2188);
 x_2264 = lean_box(0);
}
lean_inc(x_2263);
if (lean_is_scalar(x_2264)) {
 x_2265 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2265 = x_2264;
}
lean_ctor_set(x_2265, 0, x_2263);
x_14 = x_2265;
x_15 = x_2263;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; 
lean_dec_ref(x_2185);
lean_dec_ref(x_2177);
lean_dec(x_2167);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2266 = lean_ctor_get(x_2186, 0);
lean_inc(x_2266);
if (lean_is_exclusive(x_2186)) {
 lean_ctor_release(x_2186, 0);
 x_2267 = x_2186;
} else {
 lean_dec_ref(x_2186);
 x_2267 = lean_box(0);
}
lean_inc(x_2266);
if (lean_is_scalar(x_2267)) {
 x_2268 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2268 = x_2267;
}
lean_ctor_set(x_2268, 0, x_2266);
x_14 = x_2268;
x_15 = x_2266;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; 
lean_dec(x_2171);
lean_dec(x_2169);
lean_dec(x_2167);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2269 = lean_ctor_get(x_2172, 0);
lean_inc(x_2269);
if (lean_is_exclusive(x_2172)) {
 lean_ctor_release(x_2172, 0);
 x_2270 = x_2172;
} else {
 lean_dec_ref(x_2172);
 x_2270 = lean_box(0);
}
lean_inc(x_2269);
if (lean_is_scalar(x_2270)) {
 x_2271 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2271 = x_2270;
}
lean_ctor_set(x_2271, 0, x_2269);
x_14 = x_2271;
x_15 = x_2269;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2272; lean_object* x_2273; lean_object* x_2274; 
lean_dec(x_2169);
lean_dec(x_2167);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2272 = lean_ctor_get(x_2170, 0);
lean_inc(x_2272);
if (lean_is_exclusive(x_2170)) {
 lean_ctor_release(x_2170, 0);
 x_2273 = x_2170;
} else {
 lean_dec_ref(x_2170);
 x_2273 = lean_box(0);
}
lean_inc(x_2272);
if (lean_is_scalar(x_2273)) {
 x_2274 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2274 = x_2273;
}
lean_ctor_set(x_2274, 0, x_2272);
x_14 = x_2274;
x_15 = x_2272;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2275; lean_object* x_2276; lean_object* x_2277; 
lean_dec(x_2167);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2275 = lean_ctor_get(x_2168, 0);
lean_inc(x_2275);
if (lean_is_exclusive(x_2168)) {
 lean_ctor_release(x_2168, 0);
 x_2276 = x_2168;
} else {
 lean_dec_ref(x_2168);
 x_2276 = lean_box(0);
}
lean_inc(x_2275);
if (lean_is_scalar(x_2276)) {
 x_2277 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2277 = x_2276;
}
lean_ctor_set(x_2277, 0, x_2275);
x_14 = x_2277;
x_15 = x_2275;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2278; 
lean_dec(x_2165);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_2166)) {
 x_2278 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2278 = x_2166;
}
lean_ctor_set(x_2278, 0, x_2163);
return x_2278;
}
}
else
{
lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; 
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2279 = lean_ctor_get(x_2164, 0);
lean_inc(x_2279);
if (lean_is_exclusive(x_2164)) {
 lean_ctor_release(x_2164, 0);
 x_2280 = x_2164;
} else {
 lean_dec_ref(x_2164);
 x_2280 = lean_box(0);
}
lean_inc(x_2279);
if (lean_is_scalar(x_2280)) {
 x_2281 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2281 = x_2280;
}
lean_ctor_set(x_2281, 0, x_2279);
x_14 = x_2281;
x_15 = x_2279;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2282; lean_object* x_2283; lean_object* x_2284; 
lean_dec(x_2150);
lean_dec(x_2142);
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2282 = lean_ctor_get(x_2151, 0);
lean_inc(x_2282);
if (lean_is_exclusive(x_2151)) {
 lean_ctor_release(x_2151, 0);
 x_2283 = x_2151;
} else {
 lean_dec_ref(x_2151);
 x_2283 = lean_box(0);
}
lean_inc(x_2282);
if (lean_is_scalar(x_2283)) {
 x_2284 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2284 = x_2283;
}
lean_ctor_set(x_2284, 0, x_2282);
x_14 = x_2284;
x_15 = x_2282;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2285; lean_object* x_2286; lean_object* x_2287; 
lean_dec(x_2142);
lean_dec(x_2140);
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2285 = lean_ctor_get(x_2149, 0);
lean_inc(x_2285);
if (lean_is_exclusive(x_2149)) {
 lean_ctor_release(x_2149, 0);
 x_2286 = x_2149;
} else {
 lean_dec_ref(x_2149);
 x_2286 = lean_box(0);
}
lean_inc(x_2285);
if (lean_is_scalar(x_2286)) {
 x_2287 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2287 = x_2286;
}
lean_ctor_set(x_2287, 0, x_2285);
x_14 = x_2287;
x_15 = x_2285;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2288; lean_object* x_2289; 
lean_dec(x_2142);
lean_dec(x_2140);
lean_dec(x_2132);
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2288 = lean_box(0);
if (lean_is_scalar(x_2147)) {
 x_2289 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2289 = x_2147;
}
lean_ctor_set(x_2289, 0, x_2288);
return x_2289;
}
}
else
{
lean_object* x_2290; lean_object* x_2291; lean_object* x_2292; 
lean_dec(x_2142);
lean_dec(x_2140);
lean_dec(x_2132);
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2290 = lean_ctor_get(x_2145, 0);
lean_inc(x_2290);
if (lean_is_exclusive(x_2145)) {
 lean_ctor_release(x_2145, 0);
 x_2291 = x_2145;
} else {
 lean_dec_ref(x_2145);
 x_2291 = lean_box(0);
}
lean_inc(x_2290);
if (lean_is_scalar(x_2291)) {
 x_2292 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2292 = x_2291;
}
lean_ctor_set(x_2292, 0, x_2290);
x_14 = x_2292;
x_15 = x_2290;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2293; lean_object* x_2294; lean_object* x_2295; 
lean_dec(x_2142);
lean_dec(x_2140);
lean_dec(x_2132);
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2293 = lean_ctor_get(x_2143, 0);
lean_inc(x_2293);
if (lean_is_exclusive(x_2143)) {
 lean_ctor_release(x_2143, 0);
 x_2294 = x_2143;
} else {
 lean_dec_ref(x_2143);
 x_2294 = lean_box(0);
}
lean_inc(x_2293);
if (lean_is_scalar(x_2294)) {
 x_2295 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2295 = x_2294;
}
lean_ctor_set(x_2295, 0, x_2293);
x_14 = x_2295;
x_15 = x_2293;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2296; lean_object* x_2297; lean_object* x_2298; 
lean_dec(x_2140);
lean_dec(x_2139);
lean_dec(x_2132);
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2296 = lean_ctor_get(x_2141, 0);
lean_inc(x_2296);
if (lean_is_exclusive(x_2141)) {
 lean_ctor_release(x_2141, 0);
 x_2297 = x_2141;
} else {
 lean_dec_ref(x_2141);
 x_2297 = lean_box(0);
}
lean_inc(x_2296);
if (lean_is_scalar(x_2297)) {
 x_2298 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2298 = x_2297;
}
lean_ctor_set(x_2298, 0, x_2296);
x_14 = x_2298;
x_15 = x_2296;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2299; 
lean_dec(x_2132);
lean_dec(x_2131);
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2299 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2136, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2136);
x_20 = x_2299;
goto block_22;
}
}
else
{
lean_object* x_2300; 
lean_dec(x_2132);
lean_dec(x_2131);
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2300 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2136, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2136);
x_20 = x_2300;
goto block_22;
}
}
else
{
lean_object* x_2301; 
lean_dec(x_2132);
lean_dec(x_2131);
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2301 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2136, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2136);
x_20 = x_2301;
goto block_22;
}
}
else
{
lean_object* x_2302; lean_object* x_2303; lean_object* x_2304; 
lean_dec(x_2132);
lean_dec(x_2131);
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2302 = lean_ctor_get(x_2135, 0);
lean_inc(x_2302);
if (lean_is_exclusive(x_2135)) {
 lean_ctor_release(x_2135, 0);
 x_2303 = x_2135;
} else {
 lean_dec_ref(x_2135);
 x_2303 = lean_box(0);
}
lean_inc(x_2302);
if (lean_is_scalar(x_2303)) {
 x_2304 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2304 = x_2303;
}
lean_ctor_set(x_2304, 0, x_2302);
x_14 = x_2304;
x_15 = x_2302;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2305; lean_object* x_2306; lean_object* x_2307; 
lean_dec(x_2132);
lean_dec(x_2131);
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2305 = lean_ctor_get(x_2133, 0);
lean_inc(x_2305);
if (lean_is_exclusive(x_2133)) {
 lean_ctor_release(x_2133, 0);
 x_2306 = x_2133;
} else {
 lean_dec_ref(x_2133);
 x_2306 = lean_box(0);
}
lean_inc(x_2305);
if (lean_is_scalar(x_2306)) {
 x_2307 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2307 = x_2306;
}
lean_ctor_set(x_2307, 0, x_2305);
x_14 = x_2307;
x_15 = x_2305;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2308; 
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2308 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2128, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2128);
x_20 = x_2308;
goto block_22;
}
}
else
{
lean_object* x_2309; 
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2309 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2128, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2128);
x_20 = x_2309;
goto block_22;
}
}
else
{
lean_object* x_2310; 
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2310 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2128, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2128);
x_20 = x_2310;
goto block_22;
}
}
else
{
lean_object* x_2311; lean_object* x_2312; lean_object* x_2313; 
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2311 = lean_ctor_get(x_2127, 0);
lean_inc(x_2311);
if (lean_is_exclusive(x_2127)) {
 lean_ctor_release(x_2127, 0);
 x_2312 = x_2127;
} else {
 lean_dec_ref(x_2127);
 x_2312 = lean_box(0);
}
lean_inc(x_2311);
if (lean_is_scalar(x_2312)) {
 x_2313 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2313 = x_2312;
}
lean_ctor_set(x_2313, 0, x_2311);
x_14 = x_2313;
x_15 = x_2311;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2314; lean_object* x_2315; lean_object* x_2316; 
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2314 = lean_ctor_get(x_2125, 0);
lean_inc(x_2314);
if (lean_is_exclusive(x_2125)) {
 lean_ctor_release(x_2125, 0);
 x_2315 = x_2125;
} else {
 lean_dec_ref(x_2125);
 x_2315 = lean_box(0);
}
lean_inc(x_2314);
if (lean_is_scalar(x_2315)) {
 x_2316 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2316 = x_2315;
}
lean_ctor_set(x_2316, 0, x_2314);
x_14 = x_2316;
x_15 = x_2314;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_object* x_2317; 
lean_dec(x_2118);
lean_dec(x_2113);
lean_dec(x_2105);
lean_dec(x_30);
lean_dec(x_25);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2317 = l_Lean_Meta_isMonad_x3f(x_2103, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2317) == 0)
{
lean_object* x_2318; lean_object* x_2319; 
x_2318 = lean_ctor_get(x_2317, 0);
lean_inc(x_2318);
if (lean_is_exclusive(x_2317)) {
 lean_ctor_release(x_2317, 0);
 x_2319 = x_2317;
} else {
 lean_dec_ref(x_2317);
 x_2319 = lean_box(0);
}
if (lean_obj_tag(x_2318) == 1)
{
lean_object* x_2320; lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; lean_object* x_2325; uint8_t x_2326; lean_object* x_2335; lean_object* x_2336; lean_object* x_2340; lean_object* x_2341; lean_object* x_2342; lean_object* x_2343; lean_object* x_2344; lean_object* x_2345; lean_object* x_2346; lean_object* x_2347; 
x_2320 = l_Lean_Meta_coerceMonadLift_x3f___closed__15;
if (lean_is_scalar(x_2110)) {
 x_2321 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2321 = x_2110;
}
lean_ctor_set(x_2321, 0, x_2111);
x_2322 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2322, 0, x_2112);
lean_ctor_set_tag(x_28, 1);
lean_ctor_set(x_28, 0, x_2104);
x_2323 = lean_box(0);
lean_ctor_set_tag(x_23, 1);
lean_ctor_set(x_23, 0, x_1);
x_2340 = l_Lean_Meta_coerceMonadLift_x3f___closed__16;
x_2341 = lean_array_push(x_2340, x_2321);
x_2342 = lean_array_push(x_2341, x_2322);
x_2343 = lean_array_push(x_2342, x_28);
x_2344 = lean_array_push(x_2343, x_2323);
x_2345 = lean_array_push(x_2344, x_2318);
x_2346 = lean_array_push(x_2345, x_23);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2347 = l_Lean_Meta_mkAppOptM(x_2320, x_2346, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2347) == 0)
{
lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; 
x_2348 = lean_ctor_get(x_2347, 0);
lean_inc(x_2348);
if (lean_is_exclusive(x_2347)) {
 lean_ctor_release(x_2347, 0);
 x_2349 = x_2347;
} else {
 lean_dec_ref(x_2347);
 x_2349 = lean_box(0);
}
lean_inc(x_6);
lean_inc(x_4);
x_2350 = l_Lean_Meta_expandCoe(x_2348, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2350) == 0)
{
lean_object* x_2351; lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; 
lean_dec(x_2319);
lean_dec(x_2115);
lean_dec(x_6);
lean_dec(x_4);
x_2351 = lean_ctor_get(x_2350, 0);
lean_inc(x_2351);
if (lean_is_exclusive(x_2350)) {
 lean_ctor_release(x_2350, 0);
 x_2352 = x_2350;
} else {
 lean_dec_ref(x_2350);
 x_2352 = lean_box(0);
}
if (lean_is_scalar(x_2349)) {
 x_2353 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2353 = x_2349;
 lean_ctor_set_tag(x_2353, 1);
}
lean_ctor_set(x_2353, 0, x_2351);
if (lean_is_scalar(x_2352)) {
 x_2354 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2354 = x_2352;
}
lean_ctor_set(x_2354, 0, x_2353);
return x_2354;
}
else
{
lean_object* x_2355; 
lean_dec(x_2349);
x_2355 = lean_ctor_get(x_2350, 0);
lean_inc(x_2355);
lean_dec_ref(x_2350);
x_2335 = x_2355;
x_2336 = lean_box(0);
goto block_2339;
}
}
else
{
lean_object* x_2356; 
lean_dec_ref(x_5);
lean_dec_ref(x_3);
x_2356 = lean_ctor_get(x_2347, 0);
lean_inc(x_2356);
lean_dec_ref(x_2347);
x_2335 = x_2356;
x_2336 = lean_box(0);
goto block_2339;
}
block_2334:
{
if (x_2326 == 0)
{
lean_object* x_2327; 
lean_dec_ref(x_2324);
lean_dec(x_2319);
x_2327 = l_Lean_Meta_SavedState_restore___redArg(x_2115, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_2115);
if (lean_obj_tag(x_2327) == 0)
{
lean_object* x_2328; lean_object* x_2329; 
if (lean_is_exclusive(x_2327)) {
 lean_ctor_release(x_2327, 0);
 x_2328 = x_2327;
} else {
 lean_dec_ref(x_2327);
 x_2328 = lean_box(0);
}
if (lean_is_scalar(x_2328)) {
 x_2329 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2329 = x_2328;
}
lean_ctor_set(x_2329, 0, x_2323);
return x_2329;
}
else
{
lean_object* x_2330; lean_object* x_2331; lean_object* x_2332; 
x_2330 = lean_ctor_get(x_2327, 0);
lean_inc(x_2330);
if (lean_is_exclusive(x_2327)) {
 lean_ctor_release(x_2327, 0);
 x_2331 = x_2327;
} else {
 lean_dec_ref(x_2327);
 x_2331 = lean_box(0);
}
if (lean_is_scalar(x_2331)) {
 x_2332 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2332 = x_2331;
}
lean_ctor_set(x_2332, 0, x_2330);
return x_2332;
}
}
else
{
lean_object* x_2333; 
lean_dec(x_2115);
lean_dec(x_6);
lean_dec(x_4);
if (lean_is_scalar(x_2319)) {
 x_2333 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2333 = x_2319;
 lean_ctor_set_tag(x_2333, 1);
}
lean_ctor_set(x_2333, 0, x_2324);
return x_2333;
}
}
block_2339:
{
uint8_t x_2337; 
x_2337 = l_Lean_Exception_isInterrupt(x_2335);
if (x_2337 == 0)
{
uint8_t x_2338; 
x_2338 = l_Lean_Exception_isRuntime(x_2335);
x_2324 = x_2335;
x_2325 = lean_box(0);
x_2326 = x_2338;
goto block_2334;
}
else
{
x_2324 = x_2335;
x_2325 = lean_box(0);
x_2326 = x_2337;
goto block_2334;
}
}
}
else
{
lean_object* x_2357; 
lean_dec(x_2319);
lean_dec(x_2318);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2104);
lean_free_object(x_28);
lean_free_object(x_23);
lean_dec_ref(x_5);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2357 = l_Lean_Meta_SavedState_restore___redArg(x_2115, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_2115);
if (lean_obj_tag(x_2357) == 0)
{
lean_object* x_2358; lean_object* x_2359; lean_object* x_2360; 
if (lean_is_exclusive(x_2357)) {
 lean_ctor_release(x_2357, 0);
 x_2358 = x_2357;
} else {
 lean_dec_ref(x_2357);
 x_2358 = lean_box(0);
}
x_2359 = lean_box(0);
if (lean_is_scalar(x_2358)) {
 x_2360 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2360 = x_2358;
}
lean_ctor_set(x_2360, 0, x_2359);
return x_2360;
}
else
{
lean_object* x_2361; lean_object* x_2362; lean_object* x_2363; 
x_2361 = lean_ctor_get(x_2357, 0);
lean_inc(x_2361);
if (lean_is_exclusive(x_2357)) {
 lean_ctor_release(x_2357, 0);
 x_2362 = x_2357;
} else {
 lean_dec_ref(x_2357);
 x_2362 = lean_box(0);
}
if (lean_is_scalar(x_2362)) {
 x_2363 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2363 = x_2362;
}
lean_ctor_set(x_2363, 0, x_2361);
return x_2363;
}
}
}
else
{
lean_dec(x_2115);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2104);
lean_free_object(x_28);
lean_free_object(x_23);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
return x_2317;
}
}
}
else
{
lean_object* x_2364; lean_object* x_2365; lean_object* x_2366; 
lean_dec(x_2115);
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2364 = lean_ctor_get(x_2116, 0);
lean_inc(x_2364);
if (lean_is_exclusive(x_2116)) {
 lean_ctor_release(x_2116, 0);
 x_2365 = x_2116;
} else {
 lean_dec_ref(x_2116);
 x_2365 = lean_box(0);
}
if (lean_is_scalar(x_2365)) {
 x_2366 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2366 = x_2365;
}
lean_ctor_set(x_2366, 0, x_2364);
return x_2366;
}
}
else
{
lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; 
lean_dec(x_2113);
lean_dec(x_2112);
lean_dec(x_2111);
lean_dec(x_2110);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2367 = lean_ctor_get(x_2114, 0);
lean_inc(x_2367);
if (lean_is_exclusive(x_2114)) {
 lean_ctor_release(x_2114, 0);
 x_2368 = x_2114;
} else {
 lean_dec_ref(x_2114);
 x_2368 = lean_box(0);
}
if (lean_is_scalar(x_2368)) {
 x_2369 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2369 = x_2368;
}
lean_ctor_set(x_2369, 0, x_2367);
return x_2369;
}
}
else
{
lean_object* x_2370; lean_object* x_2371; 
lean_dec(x_2107);
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2370 = lean_box(0);
if (lean_is_scalar(x_2108)) {
 x_2371 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2371 = x_2108;
}
lean_ctor_set(x_2371, 0, x_2370);
return x_2371;
}
}
else
{
lean_object* x_2372; lean_object* x_2373; lean_object* x_2374; 
lean_dec(x_2105);
lean_dec(x_2104);
lean_dec(x_2103);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2372 = lean_ctor_get(x_2106, 0);
lean_inc(x_2372);
if (lean_is_exclusive(x_2106)) {
 lean_ctor_release(x_2106, 0);
 x_2373 = x_2106;
} else {
 lean_dec_ref(x_2106);
 x_2373 = lean_box(0);
}
if (lean_is_scalar(x_2373)) {
 x_2374 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2374 = x_2373;
}
lean_ctor_set(x_2374, 0, x_2372);
return x_2374;
}
}
}
else
{
lean_object* x_2375; 
lean_dec(x_33);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2375 = lean_box(0);
lean_ctor_set(x_31, 0, x_2375);
return x_31;
}
}
else
{
lean_object* x_2376; 
x_2376 = lean_ctor_get(x_31, 0);
lean_inc(x_2376);
lean_dec(x_31);
if (lean_obj_tag(x_2376) == 1)
{
lean_object* x_2377; lean_object* x_2378; lean_object* x_2379; lean_object* x_2380; lean_object* x_2381; lean_object* x_2382; 
x_2377 = lean_ctor_get(x_2376, 0);
lean_inc(x_2377);
if (lean_is_exclusive(x_2376)) {
 lean_ctor_release(x_2376, 0);
 x_2378 = x_2376;
} else {
 lean_dec_ref(x_2376);
 x_2378 = lean_box(0);
}
x_2379 = lean_ctor_get(x_2377, 0);
lean_inc(x_2379);
x_2380 = lean_ctor_get(x_2377, 1);
lean_inc(x_2380);
if (lean_is_exclusive(x_2377)) {
 lean_ctor_release(x_2377, 0);
 lean_ctor_release(x_2377, 1);
 x_2381 = x_2377;
} else {
 lean_dec_ref(x_2377);
 x_2381 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_30);
x_2382 = l_Lean_Meta_isTypeApp_x3f(x_30, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2382) == 0)
{
lean_object* x_2383; lean_object* x_2384; 
x_2383 = lean_ctor_get(x_2382, 0);
lean_inc(x_2383);
if (lean_is_exclusive(x_2382)) {
 lean_ctor_release(x_2382, 0);
 x_2384 = x_2382;
} else {
 lean_dec_ref(x_2382);
 x_2384 = lean_box(0);
}
if (lean_obj_tag(x_2383) == 1)
{
lean_object* x_2385; lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; lean_object* x_2390; 
lean_dec(x_2384);
x_2385 = lean_ctor_get(x_2383, 0);
lean_inc(x_2385);
if (lean_is_exclusive(x_2383)) {
 lean_ctor_release(x_2383, 0);
 x_2386 = x_2383;
} else {
 lean_dec_ref(x_2383);
 x_2386 = lean_box(0);
}
x_2387 = lean_ctor_get(x_2385, 0);
lean_inc(x_2387);
x_2388 = lean_ctor_get(x_2385, 1);
lean_inc(x_2388);
if (lean_is_exclusive(x_2385)) {
 lean_ctor_release(x_2385, 0);
 lean_ctor_release(x_2385, 1);
 x_2389 = x_2385;
} else {
 lean_dec_ref(x_2385);
 x_2389 = lean_box(0);
}
x_2390 = l_Lean_Meta_saveState___redArg(x_4, x_6);
if (lean_obj_tag(x_2390) == 0)
{
lean_object* x_2391; lean_object* x_2392; 
x_2391 = lean_ctor_get(x_2390, 0);
lean_inc(x_2391);
lean_dec_ref(x_2390);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2379);
lean_inc(x_2387);
x_2392 = l_Lean_Meta_isExprDefEq(x_2387, x_2379, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2392) == 0)
{
lean_object* x_2393; lean_object* x_2394; uint8_t x_2395; 
x_2393 = lean_ctor_get(x_2392, 0);
lean_inc(x_2393);
if (lean_is_exclusive(x_2392)) {
 lean_ctor_release(x_2392, 0);
 x_2394 = x_2392;
} else {
 lean_dec_ref(x_2392);
 x_2394 = lean_box(0);
}
x_2395 = lean_unbox(x_2393);
lean_dec(x_2393);
if (x_2395 == 0)
{
lean_object* x_2396; lean_object* x_2397; uint8_t x_2398; 
lean_dec(x_2391);
lean_dec(x_2378);
lean_free_object(x_28);
lean_free_object(x_23);
x_2396 = lean_ctor_get(x_5, 2);
x_2397 = l_Lean_Meta_coerceMonadLift_x3f___closed__0;
x_2398 = l_Lean_Option_get___at___00Lean_Meta_coerceMonadLift_x3f_spec__0(x_2396, x_2397);
if (x_2398 == 0)
{
lean_object* x_2399; lean_object* x_2400; 
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2399 = lean_box(0);
if (lean_is_scalar(x_2394)) {
 x_2400 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2400 = x_2394;
}
lean_ctor_set(x_2400, 0, x_2399);
return x_2400;
}
else
{
lean_object* x_2401; 
lean_dec(x_2394);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2387);
x_2401 = lean_infer_type(x_2387, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2401) == 0)
{
lean_object* x_2402; lean_object* x_2403; 
x_2402 = lean_ctor_get(x_2401, 0);
lean_inc(x_2402);
lean_dec_ref(x_2401);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2403 = lean_whnf(x_2402, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2403) == 0)
{
lean_object* x_2404; 
x_2404 = lean_ctor_get(x_2403, 0);
lean_inc(x_2404);
lean_dec_ref(x_2403);
if (lean_obj_tag(x_2404) == 7)
{
lean_object* x_2405; 
x_2405 = lean_ctor_get(x_2404, 1);
if (lean_obj_tag(x_2405) == 3)
{
lean_object* x_2406; 
x_2406 = lean_ctor_get(x_2404, 2);
if (lean_obj_tag(x_2406) == 3)
{
lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; 
lean_inc_ref(x_2406);
lean_inc_ref(x_2405);
lean_dec_ref(x_2404);
x_2407 = lean_ctor_get(x_2405, 0);
lean_inc(x_2407);
lean_dec_ref(x_2405);
x_2408 = lean_ctor_get(x_2406, 0);
lean_inc(x_2408);
lean_dec_ref(x_2406);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2379);
x_2409 = lean_infer_type(x_2379, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2409) == 0)
{
lean_object* x_2410; lean_object* x_2411; 
x_2410 = lean_ctor_get(x_2409, 0);
lean_inc(x_2410);
lean_dec_ref(x_2409);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2411 = lean_whnf(x_2410, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2411) == 0)
{
lean_object* x_2412; 
x_2412 = lean_ctor_get(x_2411, 0);
lean_inc(x_2412);
lean_dec_ref(x_2411);
if (lean_obj_tag(x_2412) == 7)
{
lean_object* x_2413; 
x_2413 = lean_ctor_get(x_2412, 1);
if (lean_obj_tag(x_2413) == 3)
{
lean_object* x_2414; 
x_2414 = lean_ctor_get(x_2412, 2);
if (lean_obj_tag(x_2414) == 3)
{
lean_object* x_2415; lean_object* x_2416; lean_object* x_2417; 
lean_inc_ref(x_2414);
lean_inc_ref(x_2413);
lean_dec_ref(x_2412);
x_2415 = lean_ctor_get(x_2413, 0);
lean_inc(x_2415);
lean_dec_ref(x_2413);
x_2416 = lean_ctor_get(x_2414, 0);
lean_inc(x_2416);
lean_dec_ref(x_2414);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2417 = l_Lean_Meta_decLevel(x_2407, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2417) == 0)
{
lean_object* x_2418; lean_object* x_2419; 
x_2418 = lean_ctor_get(x_2417, 0);
lean_inc(x_2418);
lean_dec_ref(x_2417);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2419 = l_Lean_Meta_decLevel(x_2415, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2419) == 0)
{
lean_object* x_2420; lean_object* x_2421; 
x_2420 = lean_ctor_get(x_2419, 0);
lean_inc(x_2420);
lean_dec_ref(x_2419);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2418);
x_2421 = l_Lean_Meta_isLevelDefEq(x_2418, x_2420, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2421) == 0)
{
lean_object* x_2422; lean_object* x_2423; uint8_t x_2424; 
x_2422 = lean_ctor_get(x_2421, 0);
lean_inc(x_2422);
if (lean_is_exclusive(x_2421)) {
 lean_ctor_release(x_2421, 0);
 x_2423 = x_2421;
} else {
 lean_dec_ref(x_2421);
 x_2423 = lean_box(0);
}
x_2424 = lean_unbox(x_2422);
lean_dec(x_2422);
if (x_2424 == 1)
{
lean_object* x_2425; 
lean_dec(x_2423);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2425 = l_Lean_Meta_decLevel(x_2408, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2425) == 0)
{
lean_object* x_2426; lean_object* x_2427; 
x_2426 = lean_ctor_get(x_2425, 0);
lean_inc(x_2426);
lean_dec_ref(x_2425);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2427 = l_Lean_Meta_decLevel(x_2416, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2427) == 0)
{
lean_object* x_2428; lean_object* x_2429; lean_object* x_2430; lean_object* x_2431; lean_object* x_2432; lean_object* x_2433; lean_object* x_2434; lean_object* x_2435; lean_object* x_2436; lean_object* x_2437; lean_object* x_2438; lean_object* x_2439; lean_object* x_2440; 
x_2428 = lean_ctor_get(x_2427, 0);
lean_inc(x_2428);
lean_dec_ref(x_2427);
x_2429 = l_Lean_Meta_coerceMonadLift_x3f___closed__2;
x_2430 = lean_box(0);
if (lean_is_scalar(x_2389)) {
 x_2431 = lean_alloc_ctor(1, 2, 0);
} else {
 x_2431 = x_2389;
 lean_ctor_set_tag(x_2431, 1);
}
lean_ctor_set(x_2431, 0, x_2428);
lean_ctor_set(x_2431, 1, x_2430);
if (lean_is_scalar(x_2381)) {
 x_2432 = lean_alloc_ctor(1, 2, 0);
} else {
 x_2432 = x_2381;
 lean_ctor_set_tag(x_2432, 1);
}
lean_ctor_set(x_2432, 0, x_2426);
lean_ctor_set(x_2432, 1, x_2431);
x_2433 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2433, 0, x_2418);
lean_ctor_set(x_2433, 1, x_2432);
x_2434 = l_Lean_Expr_const___override(x_2429, x_2433);
x_2435 = l_Lean_Meta_coerceMonadLift_x3f___closed__3;
lean_inc(x_2387);
x_2436 = lean_array_push(x_2435, x_2387);
lean_inc(x_2379);
x_2437 = lean_array_push(x_2436, x_2379);
x_2438 = l_Lean_mkAppN(x_2434, x_2437);
lean_dec_ref(x_2437);
x_2439 = lean_box(0);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2440 = l_Lean_Meta_trySynthInstance(x_2438, x_2439, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2440) == 0)
{
lean_object* x_2441; lean_object* x_2442; 
x_2441 = lean_ctor_get(x_2440, 0);
lean_inc(x_2441);
if (lean_is_exclusive(x_2440)) {
 lean_ctor_release(x_2440, 0);
 x_2442 = x_2440;
} else {
 lean_dec_ref(x_2440);
 x_2442 = lean_box(0);
}
if (lean_obj_tag(x_2441) == 1)
{
lean_object* x_2443; lean_object* x_2444; 
lean_dec(x_2442);
x_2443 = lean_ctor_get(x_2441, 0);
lean_inc(x_2443);
lean_dec_ref(x_2441);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2388);
x_2444 = l_Lean_Meta_getDecLevel(x_2388, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2444) == 0)
{
lean_object* x_2445; lean_object* x_2446; 
x_2445 = lean_ctor_get(x_2444, 0);
lean_inc(x_2445);
lean_dec_ref(x_2444);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2446 = l_Lean_Meta_getDecLevel(x_30, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2446) == 0)
{
lean_object* x_2447; lean_object* x_2448; 
x_2447 = lean_ctor_get(x_2446, 0);
lean_inc(x_2447);
lean_dec_ref(x_2446);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_2448 = l_Lean_Meta_getDecLevel(x_25, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2448) == 0)
{
lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; lean_object* x_2452; lean_object* x_2453; lean_object* x_2454; lean_object* x_2455; lean_object* x_2456; lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; lean_object* x_2461; lean_object* x_2462; 
x_2449 = lean_ctor_get(x_2448, 0);
lean_inc(x_2449);
lean_dec_ref(x_2448);
x_2450 = l_Lean_Meta_coerceMonadLift_x3f___closed__5;
x_2451 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2451, 0, x_2449);
lean_ctor_set(x_2451, 1, x_2430);
x_2452 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2452, 0, x_2447);
lean_ctor_set(x_2452, 1, x_2451);
x_2453 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2453, 0, x_2445);
lean_ctor_set(x_2453, 1, x_2452);
lean_inc_ref(x_2453);
x_2454 = l_Lean_mkConst(x_2450, x_2453);
x_2455 = l_Lean_Meta_coerceMonadLift_x3f___closed__6;
lean_inc(x_2387);
x_2456 = lean_array_push(x_2455, x_2387);
lean_inc(x_2379);
x_2457 = lean_array_push(x_2456, x_2379);
lean_inc(x_2443);
x_2458 = lean_array_push(x_2457, x_2443);
lean_inc(x_2388);
x_2459 = lean_array_push(x_2458, x_2388);
lean_inc_ref(x_1);
x_2460 = lean_array_push(x_2459, x_1);
x_2461 = l_Lean_mkAppN(x_2454, x_2460);
lean_dec_ref(x_2460);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_2461);
x_2462 = lean_infer_type(x_2461, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2462) == 0)
{
lean_object* x_2463; lean_object* x_2464; 
x_2463 = lean_ctor_get(x_2462, 0);
lean_inc(x_2463);
lean_dec_ref(x_2462);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_2464 = l_Lean_Meta_isExprDefEq(x_25, x_2463, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2464) == 0)
{
lean_object* x_2465; lean_object* x_2466; uint8_t x_2467; 
x_2465 = lean_ctor_get(x_2464, 0);
lean_inc(x_2465);
if (lean_is_exclusive(x_2464)) {
 lean_ctor_release(x_2464, 0);
 x_2466 = x_2464;
} else {
 lean_dec_ref(x_2464);
 x_2466 = lean_box(0);
}
x_2467 = lean_unbox(x_2465);
lean_dec(x_2465);
if (x_2467 == 0)
{
lean_object* x_2468; 
lean_dec(x_2466);
lean_dec_ref(x_2461);
lean_dec(x_2386);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2379);
x_2468 = l_Lean_Meta_isMonad_x3f(x_2379, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2468) == 0)
{
lean_object* x_2469; lean_object* x_2470; 
x_2469 = lean_ctor_get(x_2468, 0);
lean_inc(x_2469);
if (lean_is_exclusive(x_2468)) {
 lean_ctor_release(x_2468, 0);
 x_2470 = x_2468;
} else {
 lean_dec_ref(x_2468);
 x_2470 = lean_box(0);
}
if (lean_obj_tag(x_2469) == 1)
{
lean_object* x_2471; lean_object* x_2472; lean_object* x_2473; 
lean_dec(x_2470);
x_2471 = lean_ctor_get(x_2469, 0);
lean_inc(x_2471);
if (lean_is_exclusive(x_2469)) {
 lean_ctor_release(x_2469, 0);
 x_2472 = x_2469;
} else {
 lean_dec_ref(x_2469);
 x_2472 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2388);
x_2473 = l_Lean_Meta_getLevel(x_2388, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2473) == 0)
{
lean_object* x_2474; lean_object* x_2475; 
x_2474 = lean_ctor_get(x_2473, 0);
lean_inc(x_2474);
lean_dec_ref(x_2473);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2380);
x_2475 = l_Lean_Meta_getLevel(x_2380, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2475) == 0)
{
lean_object* x_2476; lean_object* x_2477; uint8_t x_2478; lean_object* x_2479; lean_object* x_2480; lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; lean_object* x_2484; lean_object* x_2485; lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; lean_object* x_2490; 
x_2476 = lean_ctor_get(x_2475, 0);
lean_inc(x_2476);
lean_dec_ref(x_2475);
x_2477 = l_Lean_Meta_coerceMonadLift_x3f___closed__8;
x_2478 = 0;
x_2479 = l_Lean_Meta_coerceSimple_x3f___closed__1;
x_2480 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2480, 0, x_2476);
lean_ctor_set(x_2480, 1, x_2430);
x_2481 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2481, 0, x_2474);
lean_ctor_set(x_2481, 1, x_2480);
x_2482 = l_Lean_mkConst(x_2479, x_2481);
x_2483 = l_Lean_Meta_coerceMonadLift_x3f___closed__9;
x_2484 = l_Lean_Meta_coerceSimple_x3f___closed__2;
lean_inc(x_2388);
x_2485 = lean_array_push(x_2484, x_2388);
x_2486 = lean_array_push(x_2485, x_2483);
lean_inc(x_2380);
x_2487 = lean_array_push(x_2486, x_2380);
x_2488 = l_Lean_mkAppN(x_2482, x_2487);
lean_dec_ref(x_2487);
lean_inc(x_2388);
x_2489 = l_Lean_mkForall(x_2477, x_2478, x_2388, x_2488);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2490 = l_Lean_Meta_trySynthInstance(x_2489, x_2439, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2490) == 0)
{
lean_object* x_2491; lean_object* x_2492; 
x_2491 = lean_ctor_get(x_2490, 0);
lean_inc(x_2491);
if (lean_is_exclusive(x_2490)) {
 lean_ctor_release(x_2490, 0);
 x_2492 = x_2490;
} else {
 lean_dec_ref(x_2490);
 x_2492 = lean_box(0);
}
if (lean_obj_tag(x_2491) == 1)
{
lean_object* x_2493; lean_object* x_2494; lean_object* x_2495; lean_object* x_2496; lean_object* x_2497; lean_object* x_2498; lean_object* x_2499; lean_object* x_2500; lean_object* x_2501; lean_object* x_2502; lean_object* x_2503; lean_object* x_2504; lean_object* x_2505; lean_object* x_2506; 
lean_dec(x_2492);
x_2493 = lean_ctor_get(x_2491, 0);
lean_inc(x_2493);
lean_dec_ref(x_2491);
x_2494 = l_Lean_Meta_coerceMonadLift_x3f___closed__12;
x_2495 = l_Lean_mkConst(x_2494, x_2453);
x_2496 = l_Lean_Meta_coerceMonadLift_x3f___closed__13;
x_2497 = lean_array_push(x_2496, x_2387);
x_2498 = lean_array_push(x_2497, x_2379);
x_2499 = lean_array_push(x_2498, x_2388);
x_2500 = lean_array_push(x_2499, x_2380);
x_2501 = lean_array_push(x_2500, x_2443);
x_2502 = lean_array_push(x_2501, x_2493);
x_2503 = lean_array_push(x_2502, x_2471);
x_2504 = lean_array_push(x_2503, x_1);
x_2505 = l_Lean_mkAppN(x_2495, x_2504);
lean_dec_ref(x_2504);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2506 = l_Lean_Meta_expandCoe(x_2505, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2506) == 0)
{
lean_object* x_2507; lean_object* x_2508; 
x_2507 = lean_ctor_get(x_2506, 0);
lean_inc(x_2507);
lean_dec_ref(x_2506);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2507);
x_2508 = lean_infer_type(x_2507, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2508) == 0)
{
lean_object* x_2509; lean_object* x_2510; 
x_2509 = lean_ctor_get(x_2508, 0);
lean_inc(x_2509);
lean_dec_ref(x_2508);
x_2510 = l_Lean_Meta_isExprDefEq(x_25, x_2509, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2510) == 0)
{
lean_object* x_2511; lean_object* x_2512; uint8_t x_2513; 
x_2511 = lean_ctor_get(x_2510, 0);
lean_inc(x_2511);
if (lean_is_exclusive(x_2510)) {
 lean_ctor_release(x_2510, 0);
 x_2512 = x_2510;
} else {
 lean_dec_ref(x_2510);
 x_2512 = lean_box(0);
}
x_2513 = lean_unbox(x_2511);
lean_dec(x_2511);
if (x_2513 == 0)
{
lean_object* x_2514; 
lean_dec(x_2507);
lean_dec(x_2472);
if (lean_is_scalar(x_2512)) {
 x_2514 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2514 = x_2512;
}
lean_ctor_set(x_2514, 0, x_2439);
return x_2514;
}
else
{
lean_object* x_2515; lean_object* x_2516; 
if (lean_is_scalar(x_2472)) {
 x_2515 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2515 = x_2472;
}
lean_ctor_set(x_2515, 0, x_2507);
if (lean_is_scalar(x_2512)) {
 x_2516 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2516 = x_2512;
}
lean_ctor_set(x_2516, 0, x_2515);
return x_2516;
}
}
else
{
lean_object* x_2517; lean_object* x_2518; lean_object* x_2519; 
lean_dec(x_2507);
lean_dec(x_2472);
x_2517 = lean_ctor_get(x_2510, 0);
lean_inc(x_2517);
if (lean_is_exclusive(x_2510)) {
 lean_ctor_release(x_2510, 0);
 x_2518 = x_2510;
} else {
 lean_dec_ref(x_2510);
 x_2518 = lean_box(0);
}
lean_inc(x_2517);
if (lean_is_scalar(x_2518)) {
 x_2519 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2519 = x_2518;
}
lean_ctor_set(x_2519, 0, x_2517);
x_14 = x_2519;
x_15 = x_2517;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2520; lean_object* x_2521; lean_object* x_2522; 
lean_dec(x_2507);
lean_dec(x_2472);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_2520 = lean_ctor_get(x_2508, 0);
lean_inc(x_2520);
if (lean_is_exclusive(x_2508)) {
 lean_ctor_release(x_2508, 0);
 x_2521 = x_2508;
} else {
 lean_dec_ref(x_2508);
 x_2521 = lean_box(0);
}
lean_inc(x_2520);
if (lean_is_scalar(x_2521)) {
 x_2522 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2522 = x_2521;
}
lean_ctor_set(x_2522, 0, x_2520);
x_14 = x_2522;
x_15 = x_2520;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2523; lean_object* x_2524; lean_object* x_2525; 
lean_dec(x_2472);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_2523 = lean_ctor_get(x_2506, 0);
lean_inc(x_2523);
if (lean_is_exclusive(x_2506)) {
 lean_ctor_release(x_2506, 0);
 x_2524 = x_2506;
} else {
 lean_dec_ref(x_2506);
 x_2524 = lean_box(0);
}
lean_inc(x_2523);
if (lean_is_scalar(x_2524)) {
 x_2525 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2525 = x_2524;
}
lean_ctor_set(x_2525, 0, x_2523);
x_14 = x_2525;
x_15 = x_2523;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2526; 
lean_dec(x_2491);
lean_dec(x_2472);
lean_dec(x_2471);
lean_dec_ref(x_2453);
lean_dec(x_2443);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_2492)) {
 x_2526 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2526 = x_2492;
}
lean_ctor_set(x_2526, 0, x_2439);
return x_2526;
}
}
else
{
lean_object* x_2527; lean_object* x_2528; lean_object* x_2529; 
lean_dec(x_2472);
lean_dec(x_2471);
lean_dec_ref(x_2453);
lean_dec(x_2443);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2527 = lean_ctor_get(x_2490, 0);
lean_inc(x_2527);
if (lean_is_exclusive(x_2490)) {
 lean_ctor_release(x_2490, 0);
 x_2528 = x_2490;
} else {
 lean_dec_ref(x_2490);
 x_2528 = lean_box(0);
}
lean_inc(x_2527);
if (lean_is_scalar(x_2528)) {
 x_2529 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2529 = x_2528;
}
lean_ctor_set(x_2529, 0, x_2527);
x_14 = x_2529;
x_15 = x_2527;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2530; lean_object* x_2531; lean_object* x_2532; 
lean_dec(x_2474);
lean_dec(x_2472);
lean_dec(x_2471);
lean_dec_ref(x_2453);
lean_dec(x_2443);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2530 = lean_ctor_get(x_2475, 0);
lean_inc(x_2530);
if (lean_is_exclusive(x_2475)) {
 lean_ctor_release(x_2475, 0);
 x_2531 = x_2475;
} else {
 lean_dec_ref(x_2475);
 x_2531 = lean_box(0);
}
lean_inc(x_2530);
if (lean_is_scalar(x_2531)) {
 x_2532 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2532 = x_2531;
}
lean_ctor_set(x_2532, 0, x_2530);
x_14 = x_2532;
x_15 = x_2530;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2533; lean_object* x_2534; lean_object* x_2535; 
lean_dec(x_2472);
lean_dec(x_2471);
lean_dec_ref(x_2453);
lean_dec(x_2443);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2533 = lean_ctor_get(x_2473, 0);
lean_inc(x_2533);
if (lean_is_exclusive(x_2473)) {
 lean_ctor_release(x_2473, 0);
 x_2534 = x_2473;
} else {
 lean_dec_ref(x_2473);
 x_2534 = lean_box(0);
}
lean_inc(x_2533);
if (lean_is_scalar(x_2534)) {
 x_2535 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2535 = x_2534;
}
lean_ctor_set(x_2535, 0, x_2533);
x_14 = x_2535;
x_15 = x_2533;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2536; 
lean_dec(x_2469);
lean_dec_ref(x_2453);
lean_dec(x_2443);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_2470)) {
 x_2536 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2536 = x_2470;
}
lean_ctor_set(x_2536, 0, x_2439);
return x_2536;
}
}
else
{
lean_dec_ref(x_2453);
lean_dec(x_2443);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_20 = x_2468;
goto block_22;
}
}
else
{
lean_object* x_2537; lean_object* x_2538; 
lean_dec_ref(x_2453);
lean_dec(x_2443);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_2386)) {
 x_2537 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2537 = x_2386;
}
lean_ctor_set(x_2537, 0, x_2461);
if (lean_is_scalar(x_2466)) {
 x_2538 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2538 = x_2466;
}
lean_ctor_set(x_2538, 0, x_2537);
return x_2538;
}
}
else
{
lean_object* x_2539; lean_object* x_2540; lean_object* x_2541; 
lean_dec_ref(x_2461);
lean_dec_ref(x_2453);
lean_dec(x_2443);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2539 = lean_ctor_get(x_2464, 0);
lean_inc(x_2539);
if (lean_is_exclusive(x_2464)) {
 lean_ctor_release(x_2464, 0);
 x_2540 = x_2464;
} else {
 lean_dec_ref(x_2464);
 x_2540 = lean_box(0);
}
lean_inc(x_2539);
if (lean_is_scalar(x_2540)) {
 x_2541 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2541 = x_2540;
}
lean_ctor_set(x_2541, 0, x_2539);
x_14 = x_2541;
x_15 = x_2539;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2542; lean_object* x_2543; lean_object* x_2544; 
lean_dec_ref(x_2461);
lean_dec_ref(x_2453);
lean_dec(x_2443);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2542 = lean_ctor_get(x_2462, 0);
lean_inc(x_2542);
if (lean_is_exclusive(x_2462)) {
 lean_ctor_release(x_2462, 0);
 x_2543 = x_2462;
} else {
 lean_dec_ref(x_2462);
 x_2543 = lean_box(0);
}
lean_inc(x_2542);
if (lean_is_scalar(x_2543)) {
 x_2544 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2544 = x_2543;
}
lean_ctor_set(x_2544, 0, x_2542);
x_14 = x_2544;
x_15 = x_2542;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2545; lean_object* x_2546; lean_object* x_2547; 
lean_dec(x_2447);
lean_dec(x_2445);
lean_dec(x_2443);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2545 = lean_ctor_get(x_2448, 0);
lean_inc(x_2545);
if (lean_is_exclusive(x_2448)) {
 lean_ctor_release(x_2448, 0);
 x_2546 = x_2448;
} else {
 lean_dec_ref(x_2448);
 x_2546 = lean_box(0);
}
lean_inc(x_2545);
if (lean_is_scalar(x_2546)) {
 x_2547 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2547 = x_2546;
}
lean_ctor_set(x_2547, 0, x_2545);
x_14 = x_2547;
x_15 = x_2545;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2548; lean_object* x_2549; lean_object* x_2550; 
lean_dec(x_2445);
lean_dec(x_2443);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2548 = lean_ctor_get(x_2446, 0);
lean_inc(x_2548);
if (lean_is_exclusive(x_2446)) {
 lean_ctor_release(x_2446, 0);
 x_2549 = x_2446;
} else {
 lean_dec_ref(x_2446);
 x_2549 = lean_box(0);
}
lean_inc(x_2548);
if (lean_is_scalar(x_2549)) {
 x_2550 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2550 = x_2549;
}
lean_ctor_set(x_2550, 0, x_2548);
x_14 = x_2550;
x_15 = x_2548;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2551; lean_object* x_2552; lean_object* x_2553; 
lean_dec(x_2443);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2551 = lean_ctor_get(x_2444, 0);
lean_inc(x_2551);
if (lean_is_exclusive(x_2444)) {
 lean_ctor_release(x_2444, 0);
 x_2552 = x_2444;
} else {
 lean_dec_ref(x_2444);
 x_2552 = lean_box(0);
}
lean_inc(x_2551);
if (lean_is_scalar(x_2552)) {
 x_2553 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2553 = x_2552;
}
lean_ctor_set(x_2553, 0, x_2551);
x_14 = x_2553;
x_15 = x_2551;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2554; 
lean_dec(x_2441);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_2442)) {
 x_2554 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2554 = x_2442;
}
lean_ctor_set(x_2554, 0, x_2439);
return x_2554;
}
}
else
{
lean_object* x_2555; lean_object* x_2556; lean_object* x_2557; 
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2555 = lean_ctor_get(x_2440, 0);
lean_inc(x_2555);
if (lean_is_exclusive(x_2440)) {
 lean_ctor_release(x_2440, 0);
 x_2556 = x_2440;
} else {
 lean_dec_ref(x_2440);
 x_2556 = lean_box(0);
}
lean_inc(x_2555);
if (lean_is_scalar(x_2556)) {
 x_2557 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2557 = x_2556;
}
lean_ctor_set(x_2557, 0, x_2555);
x_14 = x_2557;
x_15 = x_2555;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2558; lean_object* x_2559; lean_object* x_2560; 
lean_dec(x_2426);
lean_dec(x_2418);
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2558 = lean_ctor_get(x_2427, 0);
lean_inc(x_2558);
if (lean_is_exclusive(x_2427)) {
 lean_ctor_release(x_2427, 0);
 x_2559 = x_2427;
} else {
 lean_dec_ref(x_2427);
 x_2559 = lean_box(0);
}
lean_inc(x_2558);
if (lean_is_scalar(x_2559)) {
 x_2560 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2560 = x_2559;
}
lean_ctor_set(x_2560, 0, x_2558);
x_14 = x_2560;
x_15 = x_2558;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2561; lean_object* x_2562; lean_object* x_2563; 
lean_dec(x_2418);
lean_dec(x_2416);
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2561 = lean_ctor_get(x_2425, 0);
lean_inc(x_2561);
if (lean_is_exclusive(x_2425)) {
 lean_ctor_release(x_2425, 0);
 x_2562 = x_2425;
} else {
 lean_dec_ref(x_2425);
 x_2562 = lean_box(0);
}
lean_inc(x_2561);
if (lean_is_scalar(x_2562)) {
 x_2563 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2563 = x_2562;
}
lean_ctor_set(x_2563, 0, x_2561);
x_14 = x_2563;
x_15 = x_2561;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2564; lean_object* x_2565; 
lean_dec(x_2418);
lean_dec(x_2416);
lean_dec(x_2408);
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2564 = lean_box(0);
if (lean_is_scalar(x_2423)) {
 x_2565 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2565 = x_2423;
}
lean_ctor_set(x_2565, 0, x_2564);
return x_2565;
}
}
else
{
lean_object* x_2566; lean_object* x_2567; lean_object* x_2568; 
lean_dec(x_2418);
lean_dec(x_2416);
lean_dec(x_2408);
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2566 = lean_ctor_get(x_2421, 0);
lean_inc(x_2566);
if (lean_is_exclusive(x_2421)) {
 lean_ctor_release(x_2421, 0);
 x_2567 = x_2421;
} else {
 lean_dec_ref(x_2421);
 x_2567 = lean_box(0);
}
lean_inc(x_2566);
if (lean_is_scalar(x_2567)) {
 x_2568 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2568 = x_2567;
}
lean_ctor_set(x_2568, 0, x_2566);
x_14 = x_2568;
x_15 = x_2566;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2569; lean_object* x_2570; lean_object* x_2571; 
lean_dec(x_2418);
lean_dec(x_2416);
lean_dec(x_2408);
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2569 = lean_ctor_get(x_2419, 0);
lean_inc(x_2569);
if (lean_is_exclusive(x_2419)) {
 lean_ctor_release(x_2419, 0);
 x_2570 = x_2419;
} else {
 lean_dec_ref(x_2419);
 x_2570 = lean_box(0);
}
lean_inc(x_2569);
if (lean_is_scalar(x_2570)) {
 x_2571 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2571 = x_2570;
}
lean_ctor_set(x_2571, 0, x_2569);
x_14 = x_2571;
x_15 = x_2569;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2572; lean_object* x_2573; lean_object* x_2574; 
lean_dec(x_2416);
lean_dec(x_2415);
lean_dec(x_2408);
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2572 = lean_ctor_get(x_2417, 0);
lean_inc(x_2572);
if (lean_is_exclusive(x_2417)) {
 lean_ctor_release(x_2417, 0);
 x_2573 = x_2417;
} else {
 lean_dec_ref(x_2417);
 x_2573 = lean_box(0);
}
lean_inc(x_2572);
if (lean_is_scalar(x_2573)) {
 x_2574 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2574 = x_2573;
}
lean_ctor_set(x_2574, 0, x_2572);
x_14 = x_2574;
x_15 = x_2572;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2575; 
lean_dec(x_2408);
lean_dec(x_2407);
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2575 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2412, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2412);
x_20 = x_2575;
goto block_22;
}
}
else
{
lean_object* x_2576; 
lean_dec(x_2408);
lean_dec(x_2407);
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2576 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2412, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2412);
x_20 = x_2576;
goto block_22;
}
}
else
{
lean_object* x_2577; 
lean_dec(x_2408);
lean_dec(x_2407);
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2577 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2412, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2412);
x_20 = x_2577;
goto block_22;
}
}
else
{
lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; 
lean_dec(x_2408);
lean_dec(x_2407);
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2578 = lean_ctor_get(x_2411, 0);
lean_inc(x_2578);
if (lean_is_exclusive(x_2411)) {
 lean_ctor_release(x_2411, 0);
 x_2579 = x_2411;
} else {
 lean_dec_ref(x_2411);
 x_2579 = lean_box(0);
}
lean_inc(x_2578);
if (lean_is_scalar(x_2579)) {
 x_2580 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2580 = x_2579;
}
lean_ctor_set(x_2580, 0, x_2578);
x_14 = x_2580;
x_15 = x_2578;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2581; lean_object* x_2582; lean_object* x_2583; 
lean_dec(x_2408);
lean_dec(x_2407);
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2581 = lean_ctor_get(x_2409, 0);
lean_inc(x_2581);
if (lean_is_exclusive(x_2409)) {
 lean_ctor_release(x_2409, 0);
 x_2582 = x_2409;
} else {
 lean_dec_ref(x_2409);
 x_2582 = lean_box(0);
}
lean_inc(x_2581);
if (lean_is_scalar(x_2582)) {
 x_2583 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2583 = x_2582;
}
lean_ctor_set(x_2583, 0, x_2581);
x_14 = x_2583;
x_15 = x_2581;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2584; 
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2584 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2404, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2404);
x_20 = x_2584;
goto block_22;
}
}
else
{
lean_object* x_2585; 
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2585 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2404, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2404);
x_20 = x_2585;
goto block_22;
}
}
else
{
lean_object* x_2586; 
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2586 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2404, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2404);
x_20 = x_2586;
goto block_22;
}
}
else
{
lean_object* x_2587; lean_object* x_2588; lean_object* x_2589; 
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2587 = lean_ctor_get(x_2403, 0);
lean_inc(x_2587);
if (lean_is_exclusive(x_2403)) {
 lean_ctor_release(x_2403, 0);
 x_2588 = x_2403;
} else {
 lean_dec_ref(x_2403);
 x_2588 = lean_box(0);
}
lean_inc(x_2587);
if (lean_is_scalar(x_2588)) {
 x_2589 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2589 = x_2588;
}
lean_ctor_set(x_2589, 0, x_2587);
x_14 = x_2589;
x_15 = x_2587;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2590; lean_object* x_2591; lean_object* x_2592; 
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_30);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2590 = lean_ctor_get(x_2401, 0);
lean_inc(x_2590);
if (lean_is_exclusive(x_2401)) {
 lean_ctor_release(x_2401, 0);
 x_2591 = x_2401;
} else {
 lean_dec_ref(x_2401);
 x_2591 = lean_box(0);
}
lean_inc(x_2590);
if (lean_is_scalar(x_2591)) {
 x_2592 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2592 = x_2591;
}
lean_ctor_set(x_2592, 0, x_2590);
x_14 = x_2592;
x_15 = x_2590;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_object* x_2593; 
lean_dec(x_2394);
lean_dec(x_2389);
lean_dec(x_2381);
lean_dec(x_30);
lean_dec(x_25);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2593 = l_Lean_Meta_isMonad_x3f(x_2379, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2593) == 0)
{
lean_object* x_2594; lean_object* x_2595; 
x_2594 = lean_ctor_get(x_2593, 0);
lean_inc(x_2594);
if (lean_is_exclusive(x_2593)) {
 lean_ctor_release(x_2593, 0);
 x_2595 = x_2593;
} else {
 lean_dec_ref(x_2593);
 x_2595 = lean_box(0);
}
if (lean_obj_tag(x_2594) == 1)
{
lean_object* x_2596; lean_object* x_2597; lean_object* x_2598; lean_object* x_2599; lean_object* x_2600; lean_object* x_2601; uint8_t x_2602; lean_object* x_2611; lean_object* x_2612; lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; lean_object* x_2620; lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; 
x_2596 = l_Lean_Meta_coerceMonadLift_x3f___closed__15;
if (lean_is_scalar(x_2386)) {
 x_2597 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2597 = x_2386;
}
lean_ctor_set(x_2597, 0, x_2387);
if (lean_is_scalar(x_2378)) {
 x_2598 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2598 = x_2378;
}
lean_ctor_set(x_2598, 0, x_2388);
lean_ctor_set_tag(x_28, 1);
lean_ctor_set(x_28, 0, x_2380);
x_2599 = lean_box(0);
lean_ctor_set_tag(x_23, 1);
lean_ctor_set(x_23, 0, x_1);
x_2616 = l_Lean_Meta_coerceMonadLift_x3f___closed__16;
x_2617 = lean_array_push(x_2616, x_2597);
x_2618 = lean_array_push(x_2617, x_2598);
x_2619 = lean_array_push(x_2618, x_28);
x_2620 = lean_array_push(x_2619, x_2599);
x_2621 = lean_array_push(x_2620, x_2594);
x_2622 = lean_array_push(x_2621, x_23);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2623 = l_Lean_Meta_mkAppOptM(x_2596, x_2622, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2623) == 0)
{
lean_object* x_2624; lean_object* x_2625; lean_object* x_2626; 
x_2624 = lean_ctor_get(x_2623, 0);
lean_inc(x_2624);
if (lean_is_exclusive(x_2623)) {
 lean_ctor_release(x_2623, 0);
 x_2625 = x_2623;
} else {
 lean_dec_ref(x_2623);
 x_2625 = lean_box(0);
}
lean_inc(x_6);
lean_inc(x_4);
x_2626 = l_Lean_Meta_expandCoe(x_2624, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2626) == 0)
{
lean_object* x_2627; lean_object* x_2628; lean_object* x_2629; lean_object* x_2630; 
lean_dec(x_2595);
lean_dec(x_2391);
lean_dec(x_6);
lean_dec(x_4);
x_2627 = lean_ctor_get(x_2626, 0);
lean_inc(x_2627);
if (lean_is_exclusive(x_2626)) {
 lean_ctor_release(x_2626, 0);
 x_2628 = x_2626;
} else {
 lean_dec_ref(x_2626);
 x_2628 = lean_box(0);
}
if (lean_is_scalar(x_2625)) {
 x_2629 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2629 = x_2625;
 lean_ctor_set_tag(x_2629, 1);
}
lean_ctor_set(x_2629, 0, x_2627);
if (lean_is_scalar(x_2628)) {
 x_2630 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2630 = x_2628;
}
lean_ctor_set(x_2630, 0, x_2629);
return x_2630;
}
else
{
lean_object* x_2631; 
lean_dec(x_2625);
x_2631 = lean_ctor_get(x_2626, 0);
lean_inc(x_2631);
lean_dec_ref(x_2626);
x_2611 = x_2631;
x_2612 = lean_box(0);
goto block_2615;
}
}
else
{
lean_object* x_2632; 
lean_dec_ref(x_5);
lean_dec_ref(x_3);
x_2632 = lean_ctor_get(x_2623, 0);
lean_inc(x_2632);
lean_dec_ref(x_2623);
x_2611 = x_2632;
x_2612 = lean_box(0);
goto block_2615;
}
block_2610:
{
if (x_2602 == 0)
{
lean_object* x_2603; 
lean_dec_ref(x_2600);
lean_dec(x_2595);
x_2603 = l_Lean_Meta_SavedState_restore___redArg(x_2391, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_2391);
if (lean_obj_tag(x_2603) == 0)
{
lean_object* x_2604; lean_object* x_2605; 
if (lean_is_exclusive(x_2603)) {
 lean_ctor_release(x_2603, 0);
 x_2604 = x_2603;
} else {
 lean_dec_ref(x_2603);
 x_2604 = lean_box(0);
}
if (lean_is_scalar(x_2604)) {
 x_2605 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2605 = x_2604;
}
lean_ctor_set(x_2605, 0, x_2599);
return x_2605;
}
else
{
lean_object* x_2606; lean_object* x_2607; lean_object* x_2608; 
x_2606 = lean_ctor_get(x_2603, 0);
lean_inc(x_2606);
if (lean_is_exclusive(x_2603)) {
 lean_ctor_release(x_2603, 0);
 x_2607 = x_2603;
} else {
 lean_dec_ref(x_2603);
 x_2607 = lean_box(0);
}
if (lean_is_scalar(x_2607)) {
 x_2608 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2608 = x_2607;
}
lean_ctor_set(x_2608, 0, x_2606);
return x_2608;
}
}
else
{
lean_object* x_2609; 
lean_dec(x_2391);
lean_dec(x_6);
lean_dec(x_4);
if (lean_is_scalar(x_2595)) {
 x_2609 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2609 = x_2595;
 lean_ctor_set_tag(x_2609, 1);
}
lean_ctor_set(x_2609, 0, x_2600);
return x_2609;
}
}
block_2615:
{
uint8_t x_2613; 
x_2613 = l_Lean_Exception_isInterrupt(x_2611);
if (x_2613 == 0)
{
uint8_t x_2614; 
x_2614 = l_Lean_Exception_isRuntime(x_2611);
x_2600 = x_2611;
x_2601 = lean_box(0);
x_2602 = x_2614;
goto block_2610;
}
else
{
x_2600 = x_2611;
x_2601 = lean_box(0);
x_2602 = x_2613;
goto block_2610;
}
}
}
else
{
lean_object* x_2633; 
lean_dec(x_2595);
lean_dec(x_2594);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2380);
lean_dec(x_2378);
lean_free_object(x_28);
lean_free_object(x_23);
lean_dec_ref(x_5);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2633 = l_Lean_Meta_SavedState_restore___redArg(x_2391, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_2391);
if (lean_obj_tag(x_2633) == 0)
{
lean_object* x_2634; lean_object* x_2635; lean_object* x_2636; 
if (lean_is_exclusive(x_2633)) {
 lean_ctor_release(x_2633, 0);
 x_2634 = x_2633;
} else {
 lean_dec_ref(x_2633);
 x_2634 = lean_box(0);
}
x_2635 = lean_box(0);
if (lean_is_scalar(x_2634)) {
 x_2636 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2636 = x_2634;
}
lean_ctor_set(x_2636, 0, x_2635);
return x_2636;
}
else
{
lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; 
x_2637 = lean_ctor_get(x_2633, 0);
lean_inc(x_2637);
if (lean_is_exclusive(x_2633)) {
 lean_ctor_release(x_2633, 0);
 x_2638 = x_2633;
} else {
 lean_dec_ref(x_2633);
 x_2638 = lean_box(0);
}
if (lean_is_scalar(x_2638)) {
 x_2639 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2639 = x_2638;
}
lean_ctor_set(x_2639, 0, x_2637);
return x_2639;
}
}
}
else
{
lean_dec(x_2391);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2380);
lean_dec(x_2378);
lean_free_object(x_28);
lean_free_object(x_23);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
return x_2593;
}
}
}
else
{
lean_object* x_2640; lean_object* x_2641; lean_object* x_2642; 
lean_dec(x_2391);
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_2378);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2640 = lean_ctor_get(x_2392, 0);
lean_inc(x_2640);
if (lean_is_exclusive(x_2392)) {
 lean_ctor_release(x_2392, 0);
 x_2641 = x_2392;
} else {
 lean_dec_ref(x_2392);
 x_2641 = lean_box(0);
}
if (lean_is_scalar(x_2641)) {
 x_2642 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2642 = x_2641;
}
lean_ctor_set(x_2642, 0, x_2640);
return x_2642;
}
}
else
{
lean_object* x_2643; lean_object* x_2644; lean_object* x_2645; 
lean_dec(x_2389);
lean_dec(x_2388);
lean_dec(x_2387);
lean_dec(x_2386);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_2378);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2643 = lean_ctor_get(x_2390, 0);
lean_inc(x_2643);
if (lean_is_exclusive(x_2390)) {
 lean_ctor_release(x_2390, 0);
 x_2644 = x_2390;
} else {
 lean_dec_ref(x_2390);
 x_2644 = lean_box(0);
}
if (lean_is_scalar(x_2644)) {
 x_2645 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2645 = x_2644;
}
lean_ctor_set(x_2645, 0, x_2643);
return x_2645;
}
}
else
{
lean_object* x_2646; lean_object* x_2647; 
lean_dec(x_2383);
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_2378);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2646 = lean_box(0);
if (lean_is_scalar(x_2384)) {
 x_2647 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2647 = x_2384;
}
lean_ctor_set(x_2647, 0, x_2646);
return x_2647;
}
}
else
{
lean_object* x_2648; lean_object* x_2649; lean_object* x_2650; 
lean_dec(x_2381);
lean_dec(x_2380);
lean_dec(x_2379);
lean_dec(x_2378);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2648 = lean_ctor_get(x_2382, 0);
lean_inc(x_2648);
if (lean_is_exclusive(x_2382)) {
 lean_ctor_release(x_2382, 0);
 x_2649 = x_2382;
} else {
 lean_dec_ref(x_2382);
 x_2649 = lean_box(0);
}
if (lean_is_scalar(x_2649)) {
 x_2650 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2650 = x_2649;
}
lean_ctor_set(x_2650, 0, x_2648);
return x_2650;
}
}
else
{
lean_object* x_2651; lean_object* x_2652; 
lean_dec(x_2376);
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2651 = lean_box(0);
x_2652 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2652, 0, x_2651);
return x_2652;
}
}
}
else
{
uint8_t x_2653; 
lean_free_object(x_28);
lean_dec(x_30);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2653 = !lean_is_exclusive(x_31);
if (x_2653 == 0)
{
return x_31;
}
else
{
lean_object* x_2654; lean_object* x_2655; 
x_2654 = lean_ctor_get(x_31, 0);
lean_inc(x_2654);
lean_dec(x_31);
x_2655 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2655, 0, x_2654);
return x_2655;
}
}
}
else
{
lean_object* x_2656; lean_object* x_2657; 
x_2656 = lean_ctor_get(x_28, 0);
lean_inc(x_2656);
lean_dec(x_28);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_2657 = l_Lean_Meta_isTypeApp_x3f(x_25, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2657) == 0)
{
lean_object* x_2658; lean_object* x_2659; 
x_2658 = lean_ctor_get(x_2657, 0);
lean_inc(x_2658);
if (lean_is_exclusive(x_2657)) {
 lean_ctor_release(x_2657, 0);
 x_2659 = x_2657;
} else {
 lean_dec_ref(x_2657);
 x_2659 = lean_box(0);
}
if (lean_obj_tag(x_2658) == 1)
{
lean_object* x_2660; lean_object* x_2661; lean_object* x_2662; lean_object* x_2663; lean_object* x_2664; lean_object* x_2665; 
lean_dec(x_2659);
x_2660 = lean_ctor_get(x_2658, 0);
lean_inc(x_2660);
if (lean_is_exclusive(x_2658)) {
 lean_ctor_release(x_2658, 0);
 x_2661 = x_2658;
} else {
 lean_dec_ref(x_2658);
 x_2661 = lean_box(0);
}
x_2662 = lean_ctor_get(x_2660, 0);
lean_inc(x_2662);
x_2663 = lean_ctor_get(x_2660, 1);
lean_inc(x_2663);
if (lean_is_exclusive(x_2660)) {
 lean_ctor_release(x_2660, 0);
 lean_ctor_release(x_2660, 1);
 x_2664 = x_2660;
} else {
 lean_dec_ref(x_2660);
 x_2664 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2656);
x_2665 = l_Lean_Meta_isTypeApp_x3f(x_2656, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2665) == 0)
{
lean_object* x_2666; lean_object* x_2667; 
x_2666 = lean_ctor_get(x_2665, 0);
lean_inc(x_2666);
if (lean_is_exclusive(x_2665)) {
 lean_ctor_release(x_2665, 0);
 x_2667 = x_2665;
} else {
 lean_dec_ref(x_2665);
 x_2667 = lean_box(0);
}
if (lean_obj_tag(x_2666) == 1)
{
lean_object* x_2668; lean_object* x_2669; lean_object* x_2670; lean_object* x_2671; lean_object* x_2672; lean_object* x_2673; 
lean_dec(x_2667);
x_2668 = lean_ctor_get(x_2666, 0);
lean_inc(x_2668);
if (lean_is_exclusive(x_2666)) {
 lean_ctor_release(x_2666, 0);
 x_2669 = x_2666;
} else {
 lean_dec_ref(x_2666);
 x_2669 = lean_box(0);
}
x_2670 = lean_ctor_get(x_2668, 0);
lean_inc(x_2670);
x_2671 = lean_ctor_get(x_2668, 1);
lean_inc(x_2671);
if (lean_is_exclusive(x_2668)) {
 lean_ctor_release(x_2668, 0);
 lean_ctor_release(x_2668, 1);
 x_2672 = x_2668;
} else {
 lean_dec_ref(x_2668);
 x_2672 = lean_box(0);
}
x_2673 = l_Lean_Meta_saveState___redArg(x_4, x_6);
if (lean_obj_tag(x_2673) == 0)
{
lean_object* x_2674; lean_object* x_2675; 
x_2674 = lean_ctor_get(x_2673, 0);
lean_inc(x_2674);
lean_dec_ref(x_2673);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2662);
lean_inc(x_2670);
x_2675 = l_Lean_Meta_isExprDefEq(x_2670, x_2662, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2675) == 0)
{
lean_object* x_2676; lean_object* x_2677; uint8_t x_2678; 
x_2676 = lean_ctor_get(x_2675, 0);
lean_inc(x_2676);
if (lean_is_exclusive(x_2675)) {
 lean_ctor_release(x_2675, 0);
 x_2677 = x_2675;
} else {
 lean_dec_ref(x_2675);
 x_2677 = lean_box(0);
}
x_2678 = lean_unbox(x_2676);
lean_dec(x_2676);
if (x_2678 == 0)
{
lean_object* x_2679; lean_object* x_2680; uint8_t x_2681; 
lean_dec(x_2674);
lean_dec(x_2661);
lean_free_object(x_23);
x_2679 = lean_ctor_get(x_5, 2);
x_2680 = l_Lean_Meta_coerceMonadLift_x3f___closed__0;
x_2681 = l_Lean_Option_get___at___00Lean_Meta_coerceMonadLift_x3f_spec__0(x_2679, x_2680);
if (x_2681 == 0)
{
lean_object* x_2682; lean_object* x_2683; 
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2682 = lean_box(0);
if (lean_is_scalar(x_2677)) {
 x_2683 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2683 = x_2677;
}
lean_ctor_set(x_2683, 0, x_2682);
return x_2683;
}
else
{
lean_object* x_2684; 
lean_dec(x_2677);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2670);
x_2684 = lean_infer_type(x_2670, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2684) == 0)
{
lean_object* x_2685; lean_object* x_2686; 
x_2685 = lean_ctor_get(x_2684, 0);
lean_inc(x_2685);
lean_dec_ref(x_2684);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2686 = lean_whnf(x_2685, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2686) == 0)
{
lean_object* x_2687; 
x_2687 = lean_ctor_get(x_2686, 0);
lean_inc(x_2687);
lean_dec_ref(x_2686);
if (lean_obj_tag(x_2687) == 7)
{
lean_object* x_2688; 
x_2688 = lean_ctor_get(x_2687, 1);
if (lean_obj_tag(x_2688) == 3)
{
lean_object* x_2689; 
x_2689 = lean_ctor_get(x_2687, 2);
if (lean_obj_tag(x_2689) == 3)
{
lean_object* x_2690; lean_object* x_2691; lean_object* x_2692; 
lean_inc_ref(x_2689);
lean_inc_ref(x_2688);
lean_dec_ref(x_2687);
x_2690 = lean_ctor_get(x_2688, 0);
lean_inc(x_2690);
lean_dec_ref(x_2688);
x_2691 = lean_ctor_get(x_2689, 0);
lean_inc(x_2691);
lean_dec_ref(x_2689);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2662);
x_2692 = lean_infer_type(x_2662, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2692) == 0)
{
lean_object* x_2693; lean_object* x_2694; 
x_2693 = lean_ctor_get(x_2692, 0);
lean_inc(x_2693);
lean_dec_ref(x_2692);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2694 = lean_whnf(x_2693, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2694) == 0)
{
lean_object* x_2695; 
x_2695 = lean_ctor_get(x_2694, 0);
lean_inc(x_2695);
lean_dec_ref(x_2694);
if (lean_obj_tag(x_2695) == 7)
{
lean_object* x_2696; 
x_2696 = lean_ctor_get(x_2695, 1);
if (lean_obj_tag(x_2696) == 3)
{
lean_object* x_2697; 
x_2697 = lean_ctor_get(x_2695, 2);
if (lean_obj_tag(x_2697) == 3)
{
lean_object* x_2698; lean_object* x_2699; lean_object* x_2700; 
lean_inc_ref(x_2697);
lean_inc_ref(x_2696);
lean_dec_ref(x_2695);
x_2698 = lean_ctor_get(x_2696, 0);
lean_inc(x_2698);
lean_dec_ref(x_2696);
x_2699 = lean_ctor_get(x_2697, 0);
lean_inc(x_2699);
lean_dec_ref(x_2697);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2700 = l_Lean_Meta_decLevel(x_2690, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2700) == 0)
{
lean_object* x_2701; lean_object* x_2702; 
x_2701 = lean_ctor_get(x_2700, 0);
lean_inc(x_2701);
lean_dec_ref(x_2700);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2702 = l_Lean_Meta_decLevel(x_2698, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2702) == 0)
{
lean_object* x_2703; lean_object* x_2704; 
x_2703 = lean_ctor_get(x_2702, 0);
lean_inc(x_2703);
lean_dec_ref(x_2702);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2701);
x_2704 = l_Lean_Meta_isLevelDefEq(x_2701, x_2703, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2704) == 0)
{
lean_object* x_2705; lean_object* x_2706; uint8_t x_2707; 
x_2705 = lean_ctor_get(x_2704, 0);
lean_inc(x_2705);
if (lean_is_exclusive(x_2704)) {
 lean_ctor_release(x_2704, 0);
 x_2706 = x_2704;
} else {
 lean_dec_ref(x_2704);
 x_2706 = lean_box(0);
}
x_2707 = lean_unbox(x_2705);
lean_dec(x_2705);
if (x_2707 == 1)
{
lean_object* x_2708; 
lean_dec(x_2706);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2708 = l_Lean_Meta_decLevel(x_2691, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2708) == 0)
{
lean_object* x_2709; lean_object* x_2710; 
x_2709 = lean_ctor_get(x_2708, 0);
lean_inc(x_2709);
lean_dec_ref(x_2708);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2710 = l_Lean_Meta_decLevel(x_2699, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2710) == 0)
{
lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; lean_object* x_2714; lean_object* x_2715; lean_object* x_2716; lean_object* x_2717; lean_object* x_2718; lean_object* x_2719; lean_object* x_2720; lean_object* x_2721; lean_object* x_2722; lean_object* x_2723; 
x_2711 = lean_ctor_get(x_2710, 0);
lean_inc(x_2711);
lean_dec_ref(x_2710);
x_2712 = l_Lean_Meta_coerceMonadLift_x3f___closed__2;
x_2713 = lean_box(0);
if (lean_is_scalar(x_2672)) {
 x_2714 = lean_alloc_ctor(1, 2, 0);
} else {
 x_2714 = x_2672;
 lean_ctor_set_tag(x_2714, 1);
}
lean_ctor_set(x_2714, 0, x_2711);
lean_ctor_set(x_2714, 1, x_2713);
if (lean_is_scalar(x_2664)) {
 x_2715 = lean_alloc_ctor(1, 2, 0);
} else {
 x_2715 = x_2664;
 lean_ctor_set_tag(x_2715, 1);
}
lean_ctor_set(x_2715, 0, x_2709);
lean_ctor_set(x_2715, 1, x_2714);
x_2716 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2716, 0, x_2701);
lean_ctor_set(x_2716, 1, x_2715);
x_2717 = l_Lean_Expr_const___override(x_2712, x_2716);
x_2718 = l_Lean_Meta_coerceMonadLift_x3f___closed__3;
lean_inc(x_2670);
x_2719 = lean_array_push(x_2718, x_2670);
lean_inc(x_2662);
x_2720 = lean_array_push(x_2719, x_2662);
x_2721 = l_Lean_mkAppN(x_2717, x_2720);
lean_dec_ref(x_2720);
x_2722 = lean_box(0);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2723 = l_Lean_Meta_trySynthInstance(x_2721, x_2722, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2723) == 0)
{
lean_object* x_2724; lean_object* x_2725; 
x_2724 = lean_ctor_get(x_2723, 0);
lean_inc(x_2724);
if (lean_is_exclusive(x_2723)) {
 lean_ctor_release(x_2723, 0);
 x_2725 = x_2723;
} else {
 lean_dec_ref(x_2723);
 x_2725 = lean_box(0);
}
if (lean_obj_tag(x_2724) == 1)
{
lean_object* x_2726; lean_object* x_2727; 
lean_dec(x_2725);
x_2726 = lean_ctor_get(x_2724, 0);
lean_inc(x_2726);
lean_dec_ref(x_2724);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2671);
x_2727 = l_Lean_Meta_getDecLevel(x_2671, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2727) == 0)
{
lean_object* x_2728; lean_object* x_2729; 
x_2728 = lean_ctor_get(x_2727, 0);
lean_inc(x_2728);
lean_dec_ref(x_2727);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2729 = l_Lean_Meta_getDecLevel(x_2656, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2729) == 0)
{
lean_object* x_2730; lean_object* x_2731; 
x_2730 = lean_ctor_get(x_2729, 0);
lean_inc(x_2730);
lean_dec_ref(x_2729);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_2731 = l_Lean_Meta_getDecLevel(x_25, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2731) == 0)
{
lean_object* x_2732; lean_object* x_2733; lean_object* x_2734; lean_object* x_2735; lean_object* x_2736; lean_object* x_2737; lean_object* x_2738; lean_object* x_2739; lean_object* x_2740; lean_object* x_2741; lean_object* x_2742; lean_object* x_2743; lean_object* x_2744; lean_object* x_2745; 
x_2732 = lean_ctor_get(x_2731, 0);
lean_inc(x_2732);
lean_dec_ref(x_2731);
x_2733 = l_Lean_Meta_coerceMonadLift_x3f___closed__5;
x_2734 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2734, 0, x_2732);
lean_ctor_set(x_2734, 1, x_2713);
x_2735 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2735, 0, x_2730);
lean_ctor_set(x_2735, 1, x_2734);
x_2736 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2736, 0, x_2728);
lean_ctor_set(x_2736, 1, x_2735);
lean_inc_ref(x_2736);
x_2737 = l_Lean_mkConst(x_2733, x_2736);
x_2738 = l_Lean_Meta_coerceMonadLift_x3f___closed__6;
lean_inc(x_2670);
x_2739 = lean_array_push(x_2738, x_2670);
lean_inc(x_2662);
x_2740 = lean_array_push(x_2739, x_2662);
lean_inc(x_2726);
x_2741 = lean_array_push(x_2740, x_2726);
lean_inc(x_2671);
x_2742 = lean_array_push(x_2741, x_2671);
lean_inc_ref(x_1);
x_2743 = lean_array_push(x_2742, x_1);
x_2744 = l_Lean_mkAppN(x_2737, x_2743);
lean_dec_ref(x_2743);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_2744);
x_2745 = lean_infer_type(x_2744, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2745) == 0)
{
lean_object* x_2746; lean_object* x_2747; 
x_2746 = lean_ctor_get(x_2745, 0);
lean_inc(x_2746);
lean_dec_ref(x_2745);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_25);
x_2747 = l_Lean_Meta_isExprDefEq(x_25, x_2746, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2747) == 0)
{
lean_object* x_2748; lean_object* x_2749; uint8_t x_2750; 
x_2748 = lean_ctor_get(x_2747, 0);
lean_inc(x_2748);
if (lean_is_exclusive(x_2747)) {
 lean_ctor_release(x_2747, 0);
 x_2749 = x_2747;
} else {
 lean_dec_ref(x_2747);
 x_2749 = lean_box(0);
}
x_2750 = lean_unbox(x_2748);
lean_dec(x_2748);
if (x_2750 == 0)
{
lean_object* x_2751; 
lean_dec(x_2749);
lean_dec_ref(x_2744);
lean_dec(x_2669);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2662);
x_2751 = l_Lean_Meta_isMonad_x3f(x_2662, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2751) == 0)
{
lean_object* x_2752; lean_object* x_2753; 
x_2752 = lean_ctor_get(x_2751, 0);
lean_inc(x_2752);
if (lean_is_exclusive(x_2751)) {
 lean_ctor_release(x_2751, 0);
 x_2753 = x_2751;
} else {
 lean_dec_ref(x_2751);
 x_2753 = lean_box(0);
}
if (lean_obj_tag(x_2752) == 1)
{
lean_object* x_2754; lean_object* x_2755; lean_object* x_2756; 
lean_dec(x_2753);
x_2754 = lean_ctor_get(x_2752, 0);
lean_inc(x_2754);
if (lean_is_exclusive(x_2752)) {
 lean_ctor_release(x_2752, 0);
 x_2755 = x_2752;
} else {
 lean_dec_ref(x_2752);
 x_2755 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2671);
x_2756 = l_Lean_Meta_getLevel(x_2671, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2756) == 0)
{
lean_object* x_2757; lean_object* x_2758; 
x_2757 = lean_ctor_get(x_2756, 0);
lean_inc(x_2757);
lean_dec_ref(x_2756);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2663);
x_2758 = l_Lean_Meta_getLevel(x_2663, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2758) == 0)
{
lean_object* x_2759; lean_object* x_2760; uint8_t x_2761; lean_object* x_2762; lean_object* x_2763; lean_object* x_2764; lean_object* x_2765; lean_object* x_2766; lean_object* x_2767; lean_object* x_2768; lean_object* x_2769; lean_object* x_2770; lean_object* x_2771; lean_object* x_2772; lean_object* x_2773; 
x_2759 = lean_ctor_get(x_2758, 0);
lean_inc(x_2759);
lean_dec_ref(x_2758);
x_2760 = l_Lean_Meta_coerceMonadLift_x3f___closed__8;
x_2761 = 0;
x_2762 = l_Lean_Meta_coerceSimple_x3f___closed__1;
x_2763 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2763, 0, x_2759);
lean_ctor_set(x_2763, 1, x_2713);
x_2764 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_2764, 0, x_2757);
lean_ctor_set(x_2764, 1, x_2763);
x_2765 = l_Lean_mkConst(x_2762, x_2764);
x_2766 = l_Lean_Meta_coerceMonadLift_x3f___closed__9;
x_2767 = l_Lean_Meta_coerceSimple_x3f___closed__2;
lean_inc(x_2671);
x_2768 = lean_array_push(x_2767, x_2671);
x_2769 = lean_array_push(x_2768, x_2766);
lean_inc(x_2663);
x_2770 = lean_array_push(x_2769, x_2663);
x_2771 = l_Lean_mkAppN(x_2765, x_2770);
lean_dec_ref(x_2770);
lean_inc(x_2671);
x_2772 = l_Lean_mkForall(x_2760, x_2761, x_2671, x_2771);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2773 = l_Lean_Meta_trySynthInstance(x_2772, x_2722, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2773) == 0)
{
lean_object* x_2774; lean_object* x_2775; 
x_2774 = lean_ctor_get(x_2773, 0);
lean_inc(x_2774);
if (lean_is_exclusive(x_2773)) {
 lean_ctor_release(x_2773, 0);
 x_2775 = x_2773;
} else {
 lean_dec_ref(x_2773);
 x_2775 = lean_box(0);
}
if (lean_obj_tag(x_2774) == 1)
{
lean_object* x_2776; lean_object* x_2777; lean_object* x_2778; lean_object* x_2779; lean_object* x_2780; lean_object* x_2781; lean_object* x_2782; lean_object* x_2783; lean_object* x_2784; lean_object* x_2785; lean_object* x_2786; lean_object* x_2787; lean_object* x_2788; lean_object* x_2789; 
lean_dec(x_2775);
x_2776 = lean_ctor_get(x_2774, 0);
lean_inc(x_2776);
lean_dec_ref(x_2774);
x_2777 = l_Lean_Meta_coerceMonadLift_x3f___closed__12;
x_2778 = l_Lean_mkConst(x_2777, x_2736);
x_2779 = l_Lean_Meta_coerceMonadLift_x3f___closed__13;
x_2780 = lean_array_push(x_2779, x_2670);
x_2781 = lean_array_push(x_2780, x_2662);
x_2782 = lean_array_push(x_2781, x_2671);
x_2783 = lean_array_push(x_2782, x_2663);
x_2784 = lean_array_push(x_2783, x_2726);
x_2785 = lean_array_push(x_2784, x_2776);
x_2786 = lean_array_push(x_2785, x_2754);
x_2787 = lean_array_push(x_2786, x_1);
x_2788 = l_Lean_mkAppN(x_2778, x_2787);
lean_dec_ref(x_2787);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2789 = l_Lean_Meta_expandCoe(x_2788, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2789) == 0)
{
lean_object* x_2790; lean_object* x_2791; 
x_2790 = lean_ctor_get(x_2789, 0);
lean_inc(x_2790);
lean_dec_ref(x_2789);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2790);
x_2791 = lean_infer_type(x_2790, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2791) == 0)
{
lean_object* x_2792; lean_object* x_2793; 
x_2792 = lean_ctor_get(x_2791, 0);
lean_inc(x_2792);
lean_dec_ref(x_2791);
x_2793 = l_Lean_Meta_isExprDefEq(x_25, x_2792, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2793) == 0)
{
lean_object* x_2794; lean_object* x_2795; uint8_t x_2796; 
x_2794 = lean_ctor_get(x_2793, 0);
lean_inc(x_2794);
if (lean_is_exclusive(x_2793)) {
 lean_ctor_release(x_2793, 0);
 x_2795 = x_2793;
} else {
 lean_dec_ref(x_2793);
 x_2795 = lean_box(0);
}
x_2796 = lean_unbox(x_2794);
lean_dec(x_2794);
if (x_2796 == 0)
{
lean_object* x_2797; 
lean_dec(x_2790);
lean_dec(x_2755);
if (lean_is_scalar(x_2795)) {
 x_2797 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2797 = x_2795;
}
lean_ctor_set(x_2797, 0, x_2722);
return x_2797;
}
else
{
lean_object* x_2798; lean_object* x_2799; 
if (lean_is_scalar(x_2755)) {
 x_2798 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2798 = x_2755;
}
lean_ctor_set(x_2798, 0, x_2790);
if (lean_is_scalar(x_2795)) {
 x_2799 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2799 = x_2795;
}
lean_ctor_set(x_2799, 0, x_2798);
return x_2799;
}
}
else
{
lean_object* x_2800; lean_object* x_2801; lean_object* x_2802; 
lean_dec(x_2790);
lean_dec(x_2755);
x_2800 = lean_ctor_get(x_2793, 0);
lean_inc(x_2800);
if (lean_is_exclusive(x_2793)) {
 lean_ctor_release(x_2793, 0);
 x_2801 = x_2793;
} else {
 lean_dec_ref(x_2793);
 x_2801 = lean_box(0);
}
lean_inc(x_2800);
if (lean_is_scalar(x_2801)) {
 x_2802 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2802 = x_2801;
}
lean_ctor_set(x_2802, 0, x_2800);
x_14 = x_2802;
x_15 = x_2800;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2803; lean_object* x_2804; lean_object* x_2805; 
lean_dec(x_2790);
lean_dec(x_2755);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_2803 = lean_ctor_get(x_2791, 0);
lean_inc(x_2803);
if (lean_is_exclusive(x_2791)) {
 lean_ctor_release(x_2791, 0);
 x_2804 = x_2791;
} else {
 lean_dec_ref(x_2791);
 x_2804 = lean_box(0);
}
lean_inc(x_2803);
if (lean_is_scalar(x_2804)) {
 x_2805 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2805 = x_2804;
}
lean_ctor_set(x_2805, 0, x_2803);
x_14 = x_2805;
x_15 = x_2803;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2806; lean_object* x_2807; lean_object* x_2808; 
lean_dec(x_2755);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_2806 = lean_ctor_get(x_2789, 0);
lean_inc(x_2806);
if (lean_is_exclusive(x_2789)) {
 lean_ctor_release(x_2789, 0);
 x_2807 = x_2789;
} else {
 lean_dec_ref(x_2789);
 x_2807 = lean_box(0);
}
lean_inc(x_2806);
if (lean_is_scalar(x_2807)) {
 x_2808 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2808 = x_2807;
}
lean_ctor_set(x_2808, 0, x_2806);
x_14 = x_2808;
x_15 = x_2806;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2809; 
lean_dec(x_2774);
lean_dec(x_2755);
lean_dec(x_2754);
lean_dec_ref(x_2736);
lean_dec(x_2726);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_2775)) {
 x_2809 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2809 = x_2775;
}
lean_ctor_set(x_2809, 0, x_2722);
return x_2809;
}
}
else
{
lean_object* x_2810; lean_object* x_2811; lean_object* x_2812; 
lean_dec(x_2755);
lean_dec(x_2754);
lean_dec_ref(x_2736);
lean_dec(x_2726);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2810 = lean_ctor_get(x_2773, 0);
lean_inc(x_2810);
if (lean_is_exclusive(x_2773)) {
 lean_ctor_release(x_2773, 0);
 x_2811 = x_2773;
} else {
 lean_dec_ref(x_2773);
 x_2811 = lean_box(0);
}
lean_inc(x_2810);
if (lean_is_scalar(x_2811)) {
 x_2812 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2812 = x_2811;
}
lean_ctor_set(x_2812, 0, x_2810);
x_14 = x_2812;
x_15 = x_2810;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2813; lean_object* x_2814; lean_object* x_2815; 
lean_dec(x_2757);
lean_dec(x_2755);
lean_dec(x_2754);
lean_dec_ref(x_2736);
lean_dec(x_2726);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2813 = lean_ctor_get(x_2758, 0);
lean_inc(x_2813);
if (lean_is_exclusive(x_2758)) {
 lean_ctor_release(x_2758, 0);
 x_2814 = x_2758;
} else {
 lean_dec_ref(x_2758);
 x_2814 = lean_box(0);
}
lean_inc(x_2813);
if (lean_is_scalar(x_2814)) {
 x_2815 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2815 = x_2814;
}
lean_ctor_set(x_2815, 0, x_2813);
x_14 = x_2815;
x_15 = x_2813;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2816; lean_object* x_2817; lean_object* x_2818; 
lean_dec(x_2755);
lean_dec(x_2754);
lean_dec_ref(x_2736);
lean_dec(x_2726);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2816 = lean_ctor_get(x_2756, 0);
lean_inc(x_2816);
if (lean_is_exclusive(x_2756)) {
 lean_ctor_release(x_2756, 0);
 x_2817 = x_2756;
} else {
 lean_dec_ref(x_2756);
 x_2817 = lean_box(0);
}
lean_inc(x_2816);
if (lean_is_scalar(x_2817)) {
 x_2818 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2818 = x_2817;
}
lean_ctor_set(x_2818, 0, x_2816);
x_14 = x_2818;
x_15 = x_2816;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2819; 
lean_dec(x_2752);
lean_dec_ref(x_2736);
lean_dec(x_2726);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_2753)) {
 x_2819 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2819 = x_2753;
}
lean_ctor_set(x_2819, 0, x_2722);
return x_2819;
}
}
else
{
lean_dec_ref(x_2736);
lean_dec(x_2726);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_20 = x_2751;
goto block_22;
}
}
else
{
lean_object* x_2820; lean_object* x_2821; 
lean_dec_ref(x_2736);
lean_dec(x_2726);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_2669)) {
 x_2820 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2820 = x_2669;
}
lean_ctor_set(x_2820, 0, x_2744);
if (lean_is_scalar(x_2749)) {
 x_2821 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2821 = x_2749;
}
lean_ctor_set(x_2821, 0, x_2820);
return x_2821;
}
}
else
{
lean_object* x_2822; lean_object* x_2823; lean_object* x_2824; 
lean_dec_ref(x_2744);
lean_dec_ref(x_2736);
lean_dec(x_2726);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2822 = lean_ctor_get(x_2747, 0);
lean_inc(x_2822);
if (lean_is_exclusive(x_2747)) {
 lean_ctor_release(x_2747, 0);
 x_2823 = x_2747;
} else {
 lean_dec_ref(x_2747);
 x_2823 = lean_box(0);
}
lean_inc(x_2822);
if (lean_is_scalar(x_2823)) {
 x_2824 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2824 = x_2823;
}
lean_ctor_set(x_2824, 0, x_2822);
x_14 = x_2824;
x_15 = x_2822;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2825; lean_object* x_2826; lean_object* x_2827; 
lean_dec_ref(x_2744);
lean_dec_ref(x_2736);
lean_dec(x_2726);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2825 = lean_ctor_get(x_2745, 0);
lean_inc(x_2825);
if (lean_is_exclusive(x_2745)) {
 lean_ctor_release(x_2745, 0);
 x_2826 = x_2745;
} else {
 lean_dec_ref(x_2745);
 x_2826 = lean_box(0);
}
lean_inc(x_2825);
if (lean_is_scalar(x_2826)) {
 x_2827 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2827 = x_2826;
}
lean_ctor_set(x_2827, 0, x_2825);
x_14 = x_2827;
x_15 = x_2825;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2828; lean_object* x_2829; lean_object* x_2830; 
lean_dec(x_2730);
lean_dec(x_2728);
lean_dec(x_2726);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2828 = lean_ctor_get(x_2731, 0);
lean_inc(x_2828);
if (lean_is_exclusive(x_2731)) {
 lean_ctor_release(x_2731, 0);
 x_2829 = x_2731;
} else {
 lean_dec_ref(x_2731);
 x_2829 = lean_box(0);
}
lean_inc(x_2828);
if (lean_is_scalar(x_2829)) {
 x_2830 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2830 = x_2829;
}
lean_ctor_set(x_2830, 0, x_2828);
x_14 = x_2830;
x_15 = x_2828;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2831; lean_object* x_2832; lean_object* x_2833; 
lean_dec(x_2728);
lean_dec(x_2726);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2831 = lean_ctor_get(x_2729, 0);
lean_inc(x_2831);
if (lean_is_exclusive(x_2729)) {
 lean_ctor_release(x_2729, 0);
 x_2832 = x_2729;
} else {
 lean_dec_ref(x_2729);
 x_2832 = lean_box(0);
}
lean_inc(x_2831);
if (lean_is_scalar(x_2832)) {
 x_2833 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2833 = x_2832;
}
lean_ctor_set(x_2833, 0, x_2831);
x_14 = x_2833;
x_15 = x_2831;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2834; lean_object* x_2835; lean_object* x_2836; 
lean_dec(x_2726);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2834 = lean_ctor_get(x_2727, 0);
lean_inc(x_2834);
if (lean_is_exclusive(x_2727)) {
 lean_ctor_release(x_2727, 0);
 x_2835 = x_2727;
} else {
 lean_dec_ref(x_2727);
 x_2835 = lean_box(0);
}
lean_inc(x_2834);
if (lean_is_scalar(x_2835)) {
 x_2836 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2836 = x_2835;
}
lean_ctor_set(x_2836, 0, x_2834);
x_14 = x_2836;
x_15 = x_2834;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2837; 
lean_dec(x_2724);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_2725)) {
 x_2837 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2837 = x_2725;
}
lean_ctor_set(x_2837, 0, x_2722);
return x_2837;
}
}
else
{
lean_object* x_2838; lean_object* x_2839; lean_object* x_2840; 
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2838 = lean_ctor_get(x_2723, 0);
lean_inc(x_2838);
if (lean_is_exclusive(x_2723)) {
 lean_ctor_release(x_2723, 0);
 x_2839 = x_2723;
} else {
 lean_dec_ref(x_2723);
 x_2839 = lean_box(0);
}
lean_inc(x_2838);
if (lean_is_scalar(x_2839)) {
 x_2840 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2840 = x_2839;
}
lean_ctor_set(x_2840, 0, x_2838);
x_14 = x_2840;
x_15 = x_2838;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2841; lean_object* x_2842; lean_object* x_2843; 
lean_dec(x_2709);
lean_dec(x_2701);
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2841 = lean_ctor_get(x_2710, 0);
lean_inc(x_2841);
if (lean_is_exclusive(x_2710)) {
 lean_ctor_release(x_2710, 0);
 x_2842 = x_2710;
} else {
 lean_dec_ref(x_2710);
 x_2842 = lean_box(0);
}
lean_inc(x_2841);
if (lean_is_scalar(x_2842)) {
 x_2843 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2843 = x_2842;
}
lean_ctor_set(x_2843, 0, x_2841);
x_14 = x_2843;
x_15 = x_2841;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2844; lean_object* x_2845; lean_object* x_2846; 
lean_dec(x_2701);
lean_dec(x_2699);
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2844 = lean_ctor_get(x_2708, 0);
lean_inc(x_2844);
if (lean_is_exclusive(x_2708)) {
 lean_ctor_release(x_2708, 0);
 x_2845 = x_2708;
} else {
 lean_dec_ref(x_2708);
 x_2845 = lean_box(0);
}
lean_inc(x_2844);
if (lean_is_scalar(x_2845)) {
 x_2846 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2846 = x_2845;
}
lean_ctor_set(x_2846, 0, x_2844);
x_14 = x_2846;
x_15 = x_2844;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2847; lean_object* x_2848; 
lean_dec(x_2701);
lean_dec(x_2699);
lean_dec(x_2691);
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2847 = lean_box(0);
if (lean_is_scalar(x_2706)) {
 x_2848 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2848 = x_2706;
}
lean_ctor_set(x_2848, 0, x_2847);
return x_2848;
}
}
else
{
lean_object* x_2849; lean_object* x_2850; lean_object* x_2851; 
lean_dec(x_2701);
lean_dec(x_2699);
lean_dec(x_2691);
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2849 = lean_ctor_get(x_2704, 0);
lean_inc(x_2849);
if (lean_is_exclusive(x_2704)) {
 lean_ctor_release(x_2704, 0);
 x_2850 = x_2704;
} else {
 lean_dec_ref(x_2704);
 x_2850 = lean_box(0);
}
lean_inc(x_2849);
if (lean_is_scalar(x_2850)) {
 x_2851 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2851 = x_2850;
}
lean_ctor_set(x_2851, 0, x_2849);
x_14 = x_2851;
x_15 = x_2849;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2852; lean_object* x_2853; lean_object* x_2854; 
lean_dec(x_2701);
lean_dec(x_2699);
lean_dec(x_2691);
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2852 = lean_ctor_get(x_2702, 0);
lean_inc(x_2852);
if (lean_is_exclusive(x_2702)) {
 lean_ctor_release(x_2702, 0);
 x_2853 = x_2702;
} else {
 lean_dec_ref(x_2702);
 x_2853 = lean_box(0);
}
lean_inc(x_2852);
if (lean_is_scalar(x_2853)) {
 x_2854 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2854 = x_2853;
}
lean_ctor_set(x_2854, 0, x_2852);
x_14 = x_2854;
x_15 = x_2852;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2855; lean_object* x_2856; lean_object* x_2857; 
lean_dec(x_2699);
lean_dec(x_2698);
lean_dec(x_2691);
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2855 = lean_ctor_get(x_2700, 0);
lean_inc(x_2855);
if (lean_is_exclusive(x_2700)) {
 lean_ctor_release(x_2700, 0);
 x_2856 = x_2700;
} else {
 lean_dec_ref(x_2700);
 x_2856 = lean_box(0);
}
lean_inc(x_2855);
if (lean_is_scalar(x_2856)) {
 x_2857 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2857 = x_2856;
}
lean_ctor_set(x_2857, 0, x_2855);
x_14 = x_2857;
x_15 = x_2855;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2858; 
lean_dec(x_2691);
lean_dec(x_2690);
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2858 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2695, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2695);
x_20 = x_2858;
goto block_22;
}
}
else
{
lean_object* x_2859; 
lean_dec(x_2691);
lean_dec(x_2690);
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2859 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2695, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2695);
x_20 = x_2859;
goto block_22;
}
}
else
{
lean_object* x_2860; 
lean_dec(x_2691);
lean_dec(x_2690);
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2860 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2695, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2695);
x_20 = x_2860;
goto block_22;
}
}
else
{
lean_object* x_2861; lean_object* x_2862; lean_object* x_2863; 
lean_dec(x_2691);
lean_dec(x_2690);
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2861 = lean_ctor_get(x_2694, 0);
lean_inc(x_2861);
if (lean_is_exclusive(x_2694)) {
 lean_ctor_release(x_2694, 0);
 x_2862 = x_2694;
} else {
 lean_dec_ref(x_2694);
 x_2862 = lean_box(0);
}
lean_inc(x_2861);
if (lean_is_scalar(x_2862)) {
 x_2863 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2863 = x_2862;
}
lean_ctor_set(x_2863, 0, x_2861);
x_14 = x_2863;
x_15 = x_2861;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2864; lean_object* x_2865; lean_object* x_2866; 
lean_dec(x_2691);
lean_dec(x_2690);
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2864 = lean_ctor_get(x_2692, 0);
lean_inc(x_2864);
if (lean_is_exclusive(x_2692)) {
 lean_ctor_release(x_2692, 0);
 x_2865 = x_2692;
} else {
 lean_dec_ref(x_2692);
 x_2865 = lean_box(0);
}
lean_inc(x_2864);
if (lean_is_scalar(x_2865)) {
 x_2866 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2866 = x_2865;
}
lean_ctor_set(x_2866, 0, x_2864);
x_14 = x_2866;
x_15 = x_2864;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2867; 
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2867 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2687, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2687);
x_20 = x_2867;
goto block_22;
}
}
else
{
lean_object* x_2868; 
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2868 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2687, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2687);
x_20 = x_2868;
goto block_22;
}
}
else
{
lean_object* x_2869; 
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec_ref(x_1);
x_2869 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2687, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2687);
x_20 = x_2869;
goto block_22;
}
}
else
{
lean_object* x_2870; lean_object* x_2871; lean_object* x_2872; 
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2870 = lean_ctor_get(x_2686, 0);
lean_inc(x_2870);
if (lean_is_exclusive(x_2686)) {
 lean_ctor_release(x_2686, 0);
 x_2871 = x_2686;
} else {
 lean_dec_ref(x_2686);
 x_2871 = lean_box(0);
}
lean_inc(x_2870);
if (lean_is_scalar(x_2871)) {
 x_2872 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2872 = x_2871;
}
lean_ctor_set(x_2872, 0, x_2870);
x_14 = x_2872;
x_15 = x_2870;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_2873; lean_object* x_2874; lean_object* x_2875; 
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2656);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2873 = lean_ctor_get(x_2684, 0);
lean_inc(x_2873);
if (lean_is_exclusive(x_2684)) {
 lean_ctor_release(x_2684, 0);
 x_2874 = x_2684;
} else {
 lean_dec_ref(x_2684);
 x_2874 = lean_box(0);
}
lean_inc(x_2873);
if (lean_is_scalar(x_2874)) {
 x_2875 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2875 = x_2874;
}
lean_ctor_set(x_2875, 0, x_2873);
x_14 = x_2875;
x_15 = x_2873;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_object* x_2876; 
lean_dec(x_2677);
lean_dec(x_2672);
lean_dec(x_2664);
lean_dec(x_2656);
lean_dec(x_25);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2876 = l_Lean_Meta_isMonad_x3f(x_2662, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2876) == 0)
{
lean_object* x_2877; lean_object* x_2878; 
x_2877 = lean_ctor_get(x_2876, 0);
lean_inc(x_2877);
if (lean_is_exclusive(x_2876)) {
 lean_ctor_release(x_2876, 0);
 x_2878 = x_2876;
} else {
 lean_dec_ref(x_2876);
 x_2878 = lean_box(0);
}
if (lean_obj_tag(x_2877) == 1)
{
lean_object* x_2879; lean_object* x_2880; lean_object* x_2881; lean_object* x_2882; lean_object* x_2883; lean_object* x_2884; lean_object* x_2885; uint8_t x_2886; lean_object* x_2895; lean_object* x_2896; lean_object* x_2900; lean_object* x_2901; lean_object* x_2902; lean_object* x_2903; lean_object* x_2904; lean_object* x_2905; lean_object* x_2906; lean_object* x_2907; 
x_2879 = l_Lean_Meta_coerceMonadLift_x3f___closed__15;
if (lean_is_scalar(x_2669)) {
 x_2880 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2880 = x_2669;
}
lean_ctor_set(x_2880, 0, x_2670);
if (lean_is_scalar(x_2661)) {
 x_2881 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2881 = x_2661;
}
lean_ctor_set(x_2881, 0, x_2671);
x_2882 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2882, 0, x_2663);
x_2883 = lean_box(0);
lean_ctor_set_tag(x_23, 1);
lean_ctor_set(x_23, 0, x_1);
x_2900 = l_Lean_Meta_coerceMonadLift_x3f___closed__16;
x_2901 = lean_array_push(x_2900, x_2880);
x_2902 = lean_array_push(x_2901, x_2881);
x_2903 = lean_array_push(x_2902, x_2882);
x_2904 = lean_array_push(x_2903, x_2883);
x_2905 = lean_array_push(x_2904, x_2877);
x_2906 = lean_array_push(x_2905, x_23);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2907 = l_Lean_Meta_mkAppOptM(x_2879, x_2906, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2907) == 0)
{
lean_object* x_2908; lean_object* x_2909; lean_object* x_2910; 
x_2908 = lean_ctor_get(x_2907, 0);
lean_inc(x_2908);
if (lean_is_exclusive(x_2907)) {
 lean_ctor_release(x_2907, 0);
 x_2909 = x_2907;
} else {
 lean_dec_ref(x_2907);
 x_2909 = lean_box(0);
}
lean_inc(x_6);
lean_inc(x_4);
x_2910 = l_Lean_Meta_expandCoe(x_2908, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2910) == 0)
{
lean_object* x_2911; lean_object* x_2912; lean_object* x_2913; lean_object* x_2914; 
lean_dec(x_2878);
lean_dec(x_2674);
lean_dec(x_6);
lean_dec(x_4);
x_2911 = lean_ctor_get(x_2910, 0);
lean_inc(x_2911);
if (lean_is_exclusive(x_2910)) {
 lean_ctor_release(x_2910, 0);
 x_2912 = x_2910;
} else {
 lean_dec_ref(x_2910);
 x_2912 = lean_box(0);
}
if (lean_is_scalar(x_2909)) {
 x_2913 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2913 = x_2909;
 lean_ctor_set_tag(x_2913, 1);
}
lean_ctor_set(x_2913, 0, x_2911);
if (lean_is_scalar(x_2912)) {
 x_2914 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2914 = x_2912;
}
lean_ctor_set(x_2914, 0, x_2913);
return x_2914;
}
else
{
lean_object* x_2915; 
lean_dec(x_2909);
x_2915 = lean_ctor_get(x_2910, 0);
lean_inc(x_2915);
lean_dec_ref(x_2910);
x_2895 = x_2915;
x_2896 = lean_box(0);
goto block_2899;
}
}
else
{
lean_object* x_2916; 
lean_dec_ref(x_5);
lean_dec_ref(x_3);
x_2916 = lean_ctor_get(x_2907, 0);
lean_inc(x_2916);
lean_dec_ref(x_2907);
x_2895 = x_2916;
x_2896 = lean_box(0);
goto block_2899;
}
block_2894:
{
if (x_2886 == 0)
{
lean_object* x_2887; 
lean_dec_ref(x_2884);
lean_dec(x_2878);
x_2887 = l_Lean_Meta_SavedState_restore___redArg(x_2674, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_2674);
if (lean_obj_tag(x_2887) == 0)
{
lean_object* x_2888; lean_object* x_2889; 
if (lean_is_exclusive(x_2887)) {
 lean_ctor_release(x_2887, 0);
 x_2888 = x_2887;
} else {
 lean_dec_ref(x_2887);
 x_2888 = lean_box(0);
}
if (lean_is_scalar(x_2888)) {
 x_2889 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2889 = x_2888;
}
lean_ctor_set(x_2889, 0, x_2883);
return x_2889;
}
else
{
lean_object* x_2890; lean_object* x_2891; lean_object* x_2892; 
x_2890 = lean_ctor_get(x_2887, 0);
lean_inc(x_2890);
if (lean_is_exclusive(x_2887)) {
 lean_ctor_release(x_2887, 0);
 x_2891 = x_2887;
} else {
 lean_dec_ref(x_2887);
 x_2891 = lean_box(0);
}
if (lean_is_scalar(x_2891)) {
 x_2892 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2892 = x_2891;
}
lean_ctor_set(x_2892, 0, x_2890);
return x_2892;
}
}
else
{
lean_object* x_2893; 
lean_dec(x_2674);
lean_dec(x_6);
lean_dec(x_4);
if (lean_is_scalar(x_2878)) {
 x_2893 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2893 = x_2878;
 lean_ctor_set_tag(x_2893, 1);
}
lean_ctor_set(x_2893, 0, x_2884);
return x_2893;
}
}
block_2899:
{
uint8_t x_2897; 
x_2897 = l_Lean_Exception_isInterrupt(x_2895);
if (x_2897 == 0)
{
uint8_t x_2898; 
x_2898 = l_Lean_Exception_isRuntime(x_2895);
x_2884 = x_2895;
x_2885 = lean_box(0);
x_2886 = x_2898;
goto block_2894;
}
else
{
x_2884 = x_2895;
x_2885 = lean_box(0);
x_2886 = x_2897;
goto block_2894;
}
}
}
else
{
lean_object* x_2917; 
lean_dec(x_2878);
lean_dec(x_2877);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2663);
lean_dec(x_2661);
lean_free_object(x_23);
lean_dec_ref(x_5);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2917 = l_Lean_Meta_SavedState_restore___redArg(x_2674, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_2674);
if (lean_obj_tag(x_2917) == 0)
{
lean_object* x_2918; lean_object* x_2919; lean_object* x_2920; 
if (lean_is_exclusive(x_2917)) {
 lean_ctor_release(x_2917, 0);
 x_2918 = x_2917;
} else {
 lean_dec_ref(x_2917);
 x_2918 = lean_box(0);
}
x_2919 = lean_box(0);
if (lean_is_scalar(x_2918)) {
 x_2920 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2920 = x_2918;
}
lean_ctor_set(x_2920, 0, x_2919);
return x_2920;
}
else
{
lean_object* x_2921; lean_object* x_2922; lean_object* x_2923; 
x_2921 = lean_ctor_get(x_2917, 0);
lean_inc(x_2921);
if (lean_is_exclusive(x_2917)) {
 lean_ctor_release(x_2917, 0);
 x_2922 = x_2917;
} else {
 lean_dec_ref(x_2917);
 x_2922 = lean_box(0);
}
if (lean_is_scalar(x_2922)) {
 x_2923 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2923 = x_2922;
}
lean_ctor_set(x_2923, 0, x_2921);
return x_2923;
}
}
}
else
{
lean_dec(x_2674);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2663);
lean_dec(x_2661);
lean_free_object(x_23);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
return x_2876;
}
}
}
else
{
lean_object* x_2924; lean_object* x_2925; lean_object* x_2926; 
lean_dec(x_2674);
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2661);
lean_dec(x_2656);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2924 = lean_ctor_get(x_2675, 0);
lean_inc(x_2924);
if (lean_is_exclusive(x_2675)) {
 lean_ctor_release(x_2675, 0);
 x_2925 = x_2675;
} else {
 lean_dec_ref(x_2675);
 x_2925 = lean_box(0);
}
if (lean_is_scalar(x_2925)) {
 x_2926 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2926 = x_2925;
}
lean_ctor_set(x_2926, 0, x_2924);
return x_2926;
}
}
else
{
lean_object* x_2927; lean_object* x_2928; lean_object* x_2929; 
lean_dec(x_2672);
lean_dec(x_2671);
lean_dec(x_2670);
lean_dec(x_2669);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2661);
lean_dec(x_2656);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2927 = lean_ctor_get(x_2673, 0);
lean_inc(x_2927);
if (lean_is_exclusive(x_2673)) {
 lean_ctor_release(x_2673, 0);
 x_2928 = x_2673;
} else {
 lean_dec_ref(x_2673);
 x_2928 = lean_box(0);
}
if (lean_is_scalar(x_2928)) {
 x_2929 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2929 = x_2928;
}
lean_ctor_set(x_2929, 0, x_2927);
return x_2929;
}
}
else
{
lean_object* x_2930; lean_object* x_2931; 
lean_dec(x_2666);
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2661);
lean_dec(x_2656);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2930 = lean_box(0);
if (lean_is_scalar(x_2667)) {
 x_2931 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2931 = x_2667;
}
lean_ctor_set(x_2931, 0, x_2930);
return x_2931;
}
}
else
{
lean_object* x_2932; lean_object* x_2933; lean_object* x_2934; 
lean_dec(x_2664);
lean_dec(x_2663);
lean_dec(x_2662);
lean_dec(x_2661);
lean_dec(x_2656);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2932 = lean_ctor_get(x_2665, 0);
lean_inc(x_2932);
if (lean_is_exclusive(x_2665)) {
 lean_ctor_release(x_2665, 0);
 x_2933 = x_2665;
} else {
 lean_dec_ref(x_2665);
 x_2933 = lean_box(0);
}
if (lean_is_scalar(x_2933)) {
 x_2934 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2934 = x_2933;
}
lean_ctor_set(x_2934, 0, x_2932);
return x_2934;
}
}
else
{
lean_object* x_2935; lean_object* x_2936; 
lean_dec(x_2658);
lean_dec(x_2656);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2935 = lean_box(0);
if (lean_is_scalar(x_2659)) {
 x_2936 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2936 = x_2659;
}
lean_ctor_set(x_2936, 0, x_2935);
return x_2936;
}
}
else
{
lean_object* x_2937; lean_object* x_2938; lean_object* x_2939; 
lean_dec(x_2656);
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2937 = lean_ctor_get(x_2657, 0);
lean_inc(x_2937);
if (lean_is_exclusive(x_2657)) {
 lean_ctor_release(x_2657, 0);
 x_2938 = x_2657;
} else {
 lean_dec_ref(x_2657);
 x_2938 = lean_box(0);
}
if (lean_is_scalar(x_2938)) {
 x_2939 = lean_alloc_ctor(1, 1, 0);
} else {
 x_2939 = x_2938;
}
lean_ctor_set(x_2939, 0, x_2937);
return x_2939;
}
}
}
else
{
uint8_t x_2940; 
lean_free_object(x_23);
lean_dec(x_25);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2940 = !lean_is_exclusive(x_26);
if (x_2940 == 0)
{
return x_26;
}
else
{
lean_object* x_2941; lean_object* x_2942; 
x_2941 = lean_ctor_get(x_26, 0);
lean_inc(x_2941);
lean_dec(x_26);
x_2942 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2942, 0, x_2941);
return x_2942;
}
}
}
else
{
lean_object* x_2943; lean_object* x_2944; 
x_2943 = lean_ctor_get(x_23, 0);
lean_inc(x_2943);
lean_dec(x_23);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_1);
x_2944 = lean_infer_type(x_1, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2944) == 0)
{
lean_object* x_2945; lean_object* x_2946; lean_object* x_2947; lean_object* x_2948; lean_object* x_2949; 
x_2945 = lean_ctor_get(x_2944, 0);
lean_inc(x_2945);
lean_dec_ref(x_2944);
x_2946 = l_Lean_instantiateMVars___at___00Lean_Meta_isTypeApp_x3f_spec__0___redArg(x_2945, x_4);
x_2947 = lean_ctor_get(x_2946, 0);
lean_inc(x_2947);
if (lean_is_exclusive(x_2946)) {
 lean_ctor_release(x_2946, 0);
 x_2948 = x_2946;
} else {
 lean_dec_ref(x_2946);
 x_2948 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2943);
x_2949 = l_Lean_Meta_isTypeApp_x3f(x_2943, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2949) == 0)
{
lean_object* x_2950; lean_object* x_2951; 
x_2950 = lean_ctor_get(x_2949, 0);
lean_inc(x_2950);
if (lean_is_exclusive(x_2949)) {
 lean_ctor_release(x_2949, 0);
 x_2951 = x_2949;
} else {
 lean_dec_ref(x_2949);
 x_2951 = lean_box(0);
}
if (lean_obj_tag(x_2950) == 1)
{
lean_object* x_2952; lean_object* x_2953; lean_object* x_2954; lean_object* x_2955; lean_object* x_2956; lean_object* x_2957; 
lean_dec(x_2951);
x_2952 = lean_ctor_get(x_2950, 0);
lean_inc(x_2952);
if (lean_is_exclusive(x_2950)) {
 lean_ctor_release(x_2950, 0);
 x_2953 = x_2950;
} else {
 lean_dec_ref(x_2950);
 x_2953 = lean_box(0);
}
x_2954 = lean_ctor_get(x_2952, 0);
lean_inc(x_2954);
x_2955 = lean_ctor_get(x_2952, 1);
lean_inc(x_2955);
if (lean_is_exclusive(x_2952)) {
 lean_ctor_release(x_2952, 0);
 lean_ctor_release(x_2952, 1);
 x_2956 = x_2952;
} else {
 lean_dec_ref(x_2952);
 x_2956 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2947);
x_2957 = l_Lean_Meta_isTypeApp_x3f(x_2947, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2957) == 0)
{
lean_object* x_2958; lean_object* x_2959; 
x_2958 = lean_ctor_get(x_2957, 0);
lean_inc(x_2958);
if (lean_is_exclusive(x_2957)) {
 lean_ctor_release(x_2957, 0);
 x_2959 = x_2957;
} else {
 lean_dec_ref(x_2957);
 x_2959 = lean_box(0);
}
if (lean_obj_tag(x_2958) == 1)
{
lean_object* x_2960; lean_object* x_2961; lean_object* x_2962; lean_object* x_2963; lean_object* x_2964; lean_object* x_2965; 
lean_dec(x_2959);
x_2960 = lean_ctor_get(x_2958, 0);
lean_inc(x_2960);
if (lean_is_exclusive(x_2958)) {
 lean_ctor_release(x_2958, 0);
 x_2961 = x_2958;
} else {
 lean_dec_ref(x_2958);
 x_2961 = lean_box(0);
}
x_2962 = lean_ctor_get(x_2960, 0);
lean_inc(x_2962);
x_2963 = lean_ctor_get(x_2960, 1);
lean_inc(x_2963);
if (lean_is_exclusive(x_2960)) {
 lean_ctor_release(x_2960, 0);
 lean_ctor_release(x_2960, 1);
 x_2964 = x_2960;
} else {
 lean_dec_ref(x_2960);
 x_2964 = lean_box(0);
}
x_2965 = l_Lean_Meta_saveState___redArg(x_4, x_6);
if (lean_obj_tag(x_2965) == 0)
{
lean_object* x_2966; lean_object* x_2967; 
x_2966 = lean_ctor_get(x_2965, 0);
lean_inc(x_2966);
lean_dec_ref(x_2965);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2954);
lean_inc(x_2962);
x_2967 = l_Lean_Meta_isExprDefEq(x_2962, x_2954, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2967) == 0)
{
lean_object* x_2968; lean_object* x_2969; uint8_t x_2970; 
x_2968 = lean_ctor_get(x_2967, 0);
lean_inc(x_2968);
if (lean_is_exclusive(x_2967)) {
 lean_ctor_release(x_2967, 0);
 x_2969 = x_2967;
} else {
 lean_dec_ref(x_2967);
 x_2969 = lean_box(0);
}
x_2970 = lean_unbox(x_2968);
lean_dec(x_2968);
if (x_2970 == 0)
{
lean_object* x_2971; lean_object* x_2972; uint8_t x_2973; 
lean_dec(x_2966);
lean_dec(x_2953);
lean_dec(x_2948);
x_2971 = lean_ctor_get(x_5, 2);
x_2972 = l_Lean_Meta_coerceMonadLift_x3f___closed__0;
x_2973 = l_Lean_Option_get___at___00Lean_Meta_coerceMonadLift_x3f_spec__0(x_2971, x_2972);
if (x_2973 == 0)
{
lean_object* x_2974; lean_object* x_2975; 
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_2974 = lean_box(0);
if (lean_is_scalar(x_2969)) {
 x_2975 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2975 = x_2969;
}
lean_ctor_set(x_2975, 0, x_2974);
return x_2975;
}
else
{
lean_object* x_2976; 
lean_dec(x_2969);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2962);
x_2976 = lean_infer_type(x_2962, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2976) == 0)
{
lean_object* x_2977; lean_object* x_2978; 
x_2977 = lean_ctor_get(x_2976, 0);
lean_inc(x_2977);
lean_dec_ref(x_2976);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2978 = lean_whnf(x_2977, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2978) == 0)
{
lean_object* x_2979; 
x_2979 = lean_ctor_get(x_2978, 0);
lean_inc(x_2979);
lean_dec_ref(x_2978);
if (lean_obj_tag(x_2979) == 7)
{
lean_object* x_2980; 
x_2980 = lean_ctor_get(x_2979, 1);
if (lean_obj_tag(x_2980) == 3)
{
lean_object* x_2981; 
x_2981 = lean_ctor_get(x_2979, 2);
if (lean_obj_tag(x_2981) == 3)
{
lean_object* x_2982; lean_object* x_2983; lean_object* x_2984; 
lean_inc_ref(x_2981);
lean_inc_ref(x_2980);
lean_dec_ref(x_2979);
x_2982 = lean_ctor_get(x_2980, 0);
lean_inc(x_2982);
lean_dec_ref(x_2980);
x_2983 = lean_ctor_get(x_2981, 0);
lean_inc(x_2983);
lean_dec_ref(x_2981);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2954);
x_2984 = lean_infer_type(x_2954, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2984) == 0)
{
lean_object* x_2985; lean_object* x_2986; 
x_2985 = lean_ctor_get(x_2984, 0);
lean_inc(x_2985);
lean_dec_ref(x_2984);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2986 = lean_whnf(x_2985, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2986) == 0)
{
lean_object* x_2987; 
x_2987 = lean_ctor_get(x_2986, 0);
lean_inc(x_2987);
lean_dec_ref(x_2986);
if (lean_obj_tag(x_2987) == 7)
{
lean_object* x_2988; 
x_2988 = lean_ctor_get(x_2987, 1);
if (lean_obj_tag(x_2988) == 3)
{
lean_object* x_2989; 
x_2989 = lean_ctor_get(x_2987, 2);
if (lean_obj_tag(x_2989) == 3)
{
lean_object* x_2990; lean_object* x_2991; lean_object* x_2992; 
lean_inc_ref(x_2989);
lean_inc_ref(x_2988);
lean_dec_ref(x_2987);
x_2990 = lean_ctor_get(x_2988, 0);
lean_inc(x_2990);
lean_dec_ref(x_2988);
x_2991 = lean_ctor_get(x_2989, 0);
lean_inc(x_2991);
lean_dec_ref(x_2989);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2992 = l_Lean_Meta_decLevel(x_2982, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2992) == 0)
{
lean_object* x_2993; lean_object* x_2994; 
x_2993 = lean_ctor_get(x_2992, 0);
lean_inc(x_2993);
lean_dec_ref(x_2992);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_2994 = l_Lean_Meta_decLevel(x_2990, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2994) == 0)
{
lean_object* x_2995; lean_object* x_2996; 
x_2995 = lean_ctor_get(x_2994, 0);
lean_inc(x_2995);
lean_dec_ref(x_2994);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2993);
x_2996 = l_Lean_Meta_isLevelDefEq(x_2993, x_2995, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_2996) == 0)
{
lean_object* x_2997; lean_object* x_2998; uint8_t x_2999; 
x_2997 = lean_ctor_get(x_2996, 0);
lean_inc(x_2997);
if (lean_is_exclusive(x_2996)) {
 lean_ctor_release(x_2996, 0);
 x_2998 = x_2996;
} else {
 lean_dec_ref(x_2996);
 x_2998 = lean_box(0);
}
x_2999 = lean_unbox(x_2997);
lean_dec(x_2997);
if (x_2999 == 1)
{
lean_object* x_3000; 
lean_dec(x_2998);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_3000 = l_Lean_Meta_decLevel(x_2983, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3000) == 0)
{
lean_object* x_3001; lean_object* x_3002; 
x_3001 = lean_ctor_get(x_3000, 0);
lean_inc(x_3001);
lean_dec_ref(x_3000);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_3002 = l_Lean_Meta_decLevel(x_2991, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3002) == 0)
{
lean_object* x_3003; lean_object* x_3004; lean_object* x_3005; lean_object* x_3006; lean_object* x_3007; lean_object* x_3008; lean_object* x_3009; lean_object* x_3010; lean_object* x_3011; lean_object* x_3012; lean_object* x_3013; lean_object* x_3014; lean_object* x_3015; 
x_3003 = lean_ctor_get(x_3002, 0);
lean_inc(x_3003);
lean_dec_ref(x_3002);
x_3004 = l_Lean_Meta_coerceMonadLift_x3f___closed__2;
x_3005 = lean_box(0);
if (lean_is_scalar(x_2964)) {
 x_3006 = lean_alloc_ctor(1, 2, 0);
} else {
 x_3006 = x_2964;
 lean_ctor_set_tag(x_3006, 1);
}
lean_ctor_set(x_3006, 0, x_3003);
lean_ctor_set(x_3006, 1, x_3005);
if (lean_is_scalar(x_2956)) {
 x_3007 = lean_alloc_ctor(1, 2, 0);
} else {
 x_3007 = x_2956;
 lean_ctor_set_tag(x_3007, 1);
}
lean_ctor_set(x_3007, 0, x_3001);
lean_ctor_set(x_3007, 1, x_3006);
x_3008 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3008, 0, x_2993);
lean_ctor_set(x_3008, 1, x_3007);
x_3009 = l_Lean_Expr_const___override(x_3004, x_3008);
x_3010 = l_Lean_Meta_coerceMonadLift_x3f___closed__3;
lean_inc(x_2962);
x_3011 = lean_array_push(x_3010, x_2962);
lean_inc(x_2954);
x_3012 = lean_array_push(x_3011, x_2954);
x_3013 = l_Lean_mkAppN(x_3009, x_3012);
lean_dec_ref(x_3012);
x_3014 = lean_box(0);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_3015 = l_Lean_Meta_trySynthInstance(x_3013, x_3014, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3015) == 0)
{
lean_object* x_3016; lean_object* x_3017; 
x_3016 = lean_ctor_get(x_3015, 0);
lean_inc(x_3016);
if (lean_is_exclusive(x_3015)) {
 lean_ctor_release(x_3015, 0);
 x_3017 = x_3015;
} else {
 lean_dec_ref(x_3015);
 x_3017 = lean_box(0);
}
if (lean_obj_tag(x_3016) == 1)
{
lean_object* x_3018; lean_object* x_3019; 
lean_dec(x_3017);
x_3018 = lean_ctor_get(x_3016, 0);
lean_inc(x_3018);
lean_dec_ref(x_3016);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2963);
x_3019 = l_Lean_Meta_getDecLevel(x_2963, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3019) == 0)
{
lean_object* x_3020; lean_object* x_3021; 
x_3020 = lean_ctor_get(x_3019, 0);
lean_inc(x_3020);
lean_dec_ref(x_3019);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_3021 = l_Lean_Meta_getDecLevel(x_2947, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3021) == 0)
{
lean_object* x_3022; lean_object* x_3023; 
x_3022 = lean_ctor_get(x_3021, 0);
lean_inc(x_3022);
lean_dec_ref(x_3021);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2943);
x_3023 = l_Lean_Meta_getDecLevel(x_2943, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3023) == 0)
{
lean_object* x_3024; lean_object* x_3025; lean_object* x_3026; lean_object* x_3027; lean_object* x_3028; lean_object* x_3029; lean_object* x_3030; lean_object* x_3031; lean_object* x_3032; lean_object* x_3033; lean_object* x_3034; lean_object* x_3035; lean_object* x_3036; lean_object* x_3037; 
x_3024 = lean_ctor_get(x_3023, 0);
lean_inc(x_3024);
lean_dec_ref(x_3023);
x_3025 = l_Lean_Meta_coerceMonadLift_x3f___closed__5;
x_3026 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3026, 0, x_3024);
lean_ctor_set(x_3026, 1, x_3005);
x_3027 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3027, 0, x_3022);
lean_ctor_set(x_3027, 1, x_3026);
x_3028 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3028, 0, x_3020);
lean_ctor_set(x_3028, 1, x_3027);
lean_inc_ref(x_3028);
x_3029 = l_Lean_mkConst(x_3025, x_3028);
x_3030 = l_Lean_Meta_coerceMonadLift_x3f___closed__6;
lean_inc(x_2962);
x_3031 = lean_array_push(x_3030, x_2962);
lean_inc(x_2954);
x_3032 = lean_array_push(x_3031, x_2954);
lean_inc(x_3018);
x_3033 = lean_array_push(x_3032, x_3018);
lean_inc(x_2963);
x_3034 = lean_array_push(x_3033, x_2963);
lean_inc_ref(x_1);
x_3035 = lean_array_push(x_3034, x_1);
x_3036 = l_Lean_mkAppN(x_3029, x_3035);
lean_dec_ref(x_3035);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_3036);
x_3037 = lean_infer_type(x_3036, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3037) == 0)
{
lean_object* x_3038; lean_object* x_3039; 
x_3038 = lean_ctor_get(x_3037, 0);
lean_inc(x_3038);
lean_dec_ref(x_3037);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2943);
x_3039 = l_Lean_Meta_isExprDefEq(x_2943, x_3038, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3039) == 0)
{
lean_object* x_3040; lean_object* x_3041; uint8_t x_3042; 
x_3040 = lean_ctor_get(x_3039, 0);
lean_inc(x_3040);
if (lean_is_exclusive(x_3039)) {
 lean_ctor_release(x_3039, 0);
 x_3041 = x_3039;
} else {
 lean_dec_ref(x_3039);
 x_3041 = lean_box(0);
}
x_3042 = lean_unbox(x_3040);
lean_dec(x_3040);
if (x_3042 == 0)
{
lean_object* x_3043; 
lean_dec(x_3041);
lean_dec_ref(x_3036);
lean_dec(x_2961);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2954);
x_3043 = l_Lean_Meta_isMonad_x3f(x_2954, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3043) == 0)
{
lean_object* x_3044; lean_object* x_3045; 
x_3044 = lean_ctor_get(x_3043, 0);
lean_inc(x_3044);
if (lean_is_exclusive(x_3043)) {
 lean_ctor_release(x_3043, 0);
 x_3045 = x_3043;
} else {
 lean_dec_ref(x_3043);
 x_3045 = lean_box(0);
}
if (lean_obj_tag(x_3044) == 1)
{
lean_object* x_3046; lean_object* x_3047; lean_object* x_3048; 
lean_dec(x_3045);
x_3046 = lean_ctor_get(x_3044, 0);
lean_inc(x_3046);
if (lean_is_exclusive(x_3044)) {
 lean_ctor_release(x_3044, 0);
 x_3047 = x_3044;
} else {
 lean_dec_ref(x_3044);
 x_3047 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2963);
x_3048 = l_Lean_Meta_getLevel(x_2963, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3048) == 0)
{
lean_object* x_3049; lean_object* x_3050; 
x_3049 = lean_ctor_get(x_3048, 0);
lean_inc(x_3049);
lean_dec_ref(x_3048);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_2955);
x_3050 = l_Lean_Meta_getLevel(x_2955, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3050) == 0)
{
lean_object* x_3051; lean_object* x_3052; uint8_t x_3053; lean_object* x_3054; lean_object* x_3055; lean_object* x_3056; lean_object* x_3057; lean_object* x_3058; lean_object* x_3059; lean_object* x_3060; lean_object* x_3061; lean_object* x_3062; lean_object* x_3063; lean_object* x_3064; lean_object* x_3065; 
x_3051 = lean_ctor_get(x_3050, 0);
lean_inc(x_3051);
lean_dec_ref(x_3050);
x_3052 = l_Lean_Meta_coerceMonadLift_x3f___closed__8;
x_3053 = 0;
x_3054 = l_Lean_Meta_coerceSimple_x3f___closed__1;
x_3055 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3055, 0, x_3051);
lean_ctor_set(x_3055, 1, x_3005);
x_3056 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3056, 0, x_3049);
lean_ctor_set(x_3056, 1, x_3055);
x_3057 = l_Lean_mkConst(x_3054, x_3056);
x_3058 = l_Lean_Meta_coerceMonadLift_x3f___closed__9;
x_3059 = l_Lean_Meta_coerceSimple_x3f___closed__2;
lean_inc(x_2963);
x_3060 = lean_array_push(x_3059, x_2963);
x_3061 = lean_array_push(x_3060, x_3058);
lean_inc(x_2955);
x_3062 = lean_array_push(x_3061, x_2955);
x_3063 = l_Lean_mkAppN(x_3057, x_3062);
lean_dec_ref(x_3062);
lean_inc(x_2963);
x_3064 = l_Lean_mkForall(x_3052, x_3053, x_2963, x_3063);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_3065 = l_Lean_Meta_trySynthInstance(x_3064, x_3014, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3065) == 0)
{
lean_object* x_3066; lean_object* x_3067; 
x_3066 = lean_ctor_get(x_3065, 0);
lean_inc(x_3066);
if (lean_is_exclusive(x_3065)) {
 lean_ctor_release(x_3065, 0);
 x_3067 = x_3065;
} else {
 lean_dec_ref(x_3065);
 x_3067 = lean_box(0);
}
if (lean_obj_tag(x_3066) == 1)
{
lean_object* x_3068; lean_object* x_3069; lean_object* x_3070; lean_object* x_3071; lean_object* x_3072; lean_object* x_3073; lean_object* x_3074; lean_object* x_3075; lean_object* x_3076; lean_object* x_3077; lean_object* x_3078; lean_object* x_3079; lean_object* x_3080; lean_object* x_3081; 
lean_dec(x_3067);
x_3068 = lean_ctor_get(x_3066, 0);
lean_inc(x_3068);
lean_dec_ref(x_3066);
x_3069 = l_Lean_Meta_coerceMonadLift_x3f___closed__12;
x_3070 = l_Lean_mkConst(x_3069, x_3028);
x_3071 = l_Lean_Meta_coerceMonadLift_x3f___closed__13;
x_3072 = lean_array_push(x_3071, x_2962);
x_3073 = lean_array_push(x_3072, x_2954);
x_3074 = lean_array_push(x_3073, x_2963);
x_3075 = lean_array_push(x_3074, x_2955);
x_3076 = lean_array_push(x_3075, x_3018);
x_3077 = lean_array_push(x_3076, x_3068);
x_3078 = lean_array_push(x_3077, x_3046);
x_3079 = lean_array_push(x_3078, x_1);
x_3080 = l_Lean_mkAppN(x_3070, x_3079);
lean_dec_ref(x_3079);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_3081 = l_Lean_Meta_expandCoe(x_3080, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3081) == 0)
{
lean_object* x_3082; lean_object* x_3083; 
x_3082 = lean_ctor_get(x_3081, 0);
lean_inc(x_3082);
lean_dec_ref(x_3081);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_3082);
x_3083 = lean_infer_type(x_3082, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3083) == 0)
{
lean_object* x_3084; lean_object* x_3085; 
x_3084 = lean_ctor_get(x_3083, 0);
lean_inc(x_3084);
lean_dec_ref(x_3083);
x_3085 = l_Lean_Meta_isExprDefEq(x_2943, x_3084, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3085) == 0)
{
lean_object* x_3086; lean_object* x_3087; uint8_t x_3088; 
x_3086 = lean_ctor_get(x_3085, 0);
lean_inc(x_3086);
if (lean_is_exclusive(x_3085)) {
 lean_ctor_release(x_3085, 0);
 x_3087 = x_3085;
} else {
 lean_dec_ref(x_3085);
 x_3087 = lean_box(0);
}
x_3088 = lean_unbox(x_3086);
lean_dec(x_3086);
if (x_3088 == 0)
{
lean_object* x_3089; 
lean_dec(x_3082);
lean_dec(x_3047);
if (lean_is_scalar(x_3087)) {
 x_3089 = lean_alloc_ctor(0, 1, 0);
} else {
 x_3089 = x_3087;
}
lean_ctor_set(x_3089, 0, x_3014);
return x_3089;
}
else
{
lean_object* x_3090; lean_object* x_3091; 
if (lean_is_scalar(x_3047)) {
 x_3090 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3090 = x_3047;
}
lean_ctor_set(x_3090, 0, x_3082);
if (lean_is_scalar(x_3087)) {
 x_3091 = lean_alloc_ctor(0, 1, 0);
} else {
 x_3091 = x_3087;
}
lean_ctor_set(x_3091, 0, x_3090);
return x_3091;
}
}
else
{
lean_object* x_3092; lean_object* x_3093; lean_object* x_3094; 
lean_dec(x_3082);
lean_dec(x_3047);
x_3092 = lean_ctor_get(x_3085, 0);
lean_inc(x_3092);
if (lean_is_exclusive(x_3085)) {
 lean_ctor_release(x_3085, 0);
 x_3093 = x_3085;
} else {
 lean_dec_ref(x_3085);
 x_3093 = lean_box(0);
}
lean_inc(x_3092);
if (lean_is_scalar(x_3093)) {
 x_3094 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3094 = x_3093;
}
lean_ctor_set(x_3094, 0, x_3092);
x_14 = x_3094;
x_15 = x_3092;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3095; lean_object* x_3096; lean_object* x_3097; 
lean_dec(x_3082);
lean_dec(x_3047);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_3095 = lean_ctor_get(x_3083, 0);
lean_inc(x_3095);
if (lean_is_exclusive(x_3083)) {
 lean_ctor_release(x_3083, 0);
 x_3096 = x_3083;
} else {
 lean_dec_ref(x_3083);
 x_3096 = lean_box(0);
}
lean_inc(x_3095);
if (lean_is_scalar(x_3096)) {
 x_3097 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3097 = x_3096;
}
lean_ctor_set(x_3097, 0, x_3095);
x_14 = x_3097;
x_15 = x_3095;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3098; lean_object* x_3099; lean_object* x_3100; 
lean_dec(x_3047);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_3098 = lean_ctor_get(x_3081, 0);
lean_inc(x_3098);
if (lean_is_exclusive(x_3081)) {
 lean_ctor_release(x_3081, 0);
 x_3099 = x_3081;
} else {
 lean_dec_ref(x_3081);
 x_3099 = lean_box(0);
}
lean_inc(x_3098);
if (lean_is_scalar(x_3099)) {
 x_3100 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3100 = x_3099;
}
lean_ctor_set(x_3100, 0, x_3098);
x_14 = x_3100;
x_15 = x_3098;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3101; 
lean_dec(x_3066);
lean_dec(x_3047);
lean_dec(x_3046);
lean_dec_ref(x_3028);
lean_dec(x_3018);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_3067)) {
 x_3101 = lean_alloc_ctor(0, 1, 0);
} else {
 x_3101 = x_3067;
}
lean_ctor_set(x_3101, 0, x_3014);
return x_3101;
}
}
else
{
lean_object* x_3102; lean_object* x_3103; lean_object* x_3104; 
lean_dec(x_3047);
lean_dec(x_3046);
lean_dec_ref(x_3028);
lean_dec(x_3018);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3102 = lean_ctor_get(x_3065, 0);
lean_inc(x_3102);
if (lean_is_exclusive(x_3065)) {
 lean_ctor_release(x_3065, 0);
 x_3103 = x_3065;
} else {
 lean_dec_ref(x_3065);
 x_3103 = lean_box(0);
}
lean_inc(x_3102);
if (lean_is_scalar(x_3103)) {
 x_3104 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3104 = x_3103;
}
lean_ctor_set(x_3104, 0, x_3102);
x_14 = x_3104;
x_15 = x_3102;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3105; lean_object* x_3106; lean_object* x_3107; 
lean_dec(x_3049);
lean_dec(x_3047);
lean_dec(x_3046);
lean_dec_ref(x_3028);
lean_dec(x_3018);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3105 = lean_ctor_get(x_3050, 0);
lean_inc(x_3105);
if (lean_is_exclusive(x_3050)) {
 lean_ctor_release(x_3050, 0);
 x_3106 = x_3050;
} else {
 lean_dec_ref(x_3050);
 x_3106 = lean_box(0);
}
lean_inc(x_3105);
if (lean_is_scalar(x_3106)) {
 x_3107 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3107 = x_3106;
}
lean_ctor_set(x_3107, 0, x_3105);
x_14 = x_3107;
x_15 = x_3105;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3108; lean_object* x_3109; lean_object* x_3110; 
lean_dec(x_3047);
lean_dec(x_3046);
lean_dec_ref(x_3028);
lean_dec(x_3018);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3108 = lean_ctor_get(x_3048, 0);
lean_inc(x_3108);
if (lean_is_exclusive(x_3048)) {
 lean_ctor_release(x_3048, 0);
 x_3109 = x_3048;
} else {
 lean_dec_ref(x_3048);
 x_3109 = lean_box(0);
}
lean_inc(x_3108);
if (lean_is_scalar(x_3109)) {
 x_3110 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3110 = x_3109;
}
lean_ctor_set(x_3110, 0, x_3108);
x_14 = x_3110;
x_15 = x_3108;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3111; 
lean_dec(x_3044);
lean_dec_ref(x_3028);
lean_dec(x_3018);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_3045)) {
 x_3111 = lean_alloc_ctor(0, 1, 0);
} else {
 x_3111 = x_3045;
}
lean_ctor_set(x_3111, 0, x_3014);
return x_3111;
}
}
else
{
lean_dec_ref(x_3028);
lean_dec(x_3018);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_20 = x_3043;
goto block_22;
}
}
else
{
lean_object* x_3112; lean_object* x_3113; 
lean_dec_ref(x_3028);
lean_dec(x_3018);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_2961)) {
 x_3112 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3112 = x_2961;
}
lean_ctor_set(x_3112, 0, x_3036);
if (lean_is_scalar(x_3041)) {
 x_3113 = lean_alloc_ctor(0, 1, 0);
} else {
 x_3113 = x_3041;
}
lean_ctor_set(x_3113, 0, x_3112);
return x_3113;
}
}
else
{
lean_object* x_3114; lean_object* x_3115; lean_object* x_3116; 
lean_dec_ref(x_3036);
lean_dec_ref(x_3028);
lean_dec(x_3018);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3114 = lean_ctor_get(x_3039, 0);
lean_inc(x_3114);
if (lean_is_exclusive(x_3039)) {
 lean_ctor_release(x_3039, 0);
 x_3115 = x_3039;
} else {
 lean_dec_ref(x_3039);
 x_3115 = lean_box(0);
}
lean_inc(x_3114);
if (lean_is_scalar(x_3115)) {
 x_3116 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3116 = x_3115;
}
lean_ctor_set(x_3116, 0, x_3114);
x_14 = x_3116;
x_15 = x_3114;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3117; lean_object* x_3118; lean_object* x_3119; 
lean_dec_ref(x_3036);
lean_dec_ref(x_3028);
lean_dec(x_3018);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3117 = lean_ctor_get(x_3037, 0);
lean_inc(x_3117);
if (lean_is_exclusive(x_3037)) {
 lean_ctor_release(x_3037, 0);
 x_3118 = x_3037;
} else {
 lean_dec_ref(x_3037);
 x_3118 = lean_box(0);
}
lean_inc(x_3117);
if (lean_is_scalar(x_3118)) {
 x_3119 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3119 = x_3118;
}
lean_ctor_set(x_3119, 0, x_3117);
x_14 = x_3119;
x_15 = x_3117;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3120; lean_object* x_3121; lean_object* x_3122; 
lean_dec(x_3022);
lean_dec(x_3020);
lean_dec(x_3018);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3120 = lean_ctor_get(x_3023, 0);
lean_inc(x_3120);
if (lean_is_exclusive(x_3023)) {
 lean_ctor_release(x_3023, 0);
 x_3121 = x_3023;
} else {
 lean_dec_ref(x_3023);
 x_3121 = lean_box(0);
}
lean_inc(x_3120);
if (lean_is_scalar(x_3121)) {
 x_3122 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3122 = x_3121;
}
lean_ctor_set(x_3122, 0, x_3120);
x_14 = x_3122;
x_15 = x_3120;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3123; lean_object* x_3124; lean_object* x_3125; 
lean_dec(x_3020);
lean_dec(x_3018);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3123 = lean_ctor_get(x_3021, 0);
lean_inc(x_3123);
if (lean_is_exclusive(x_3021)) {
 lean_ctor_release(x_3021, 0);
 x_3124 = x_3021;
} else {
 lean_dec_ref(x_3021);
 x_3124 = lean_box(0);
}
lean_inc(x_3123);
if (lean_is_scalar(x_3124)) {
 x_3125 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3125 = x_3124;
}
lean_ctor_set(x_3125, 0, x_3123);
x_14 = x_3125;
x_15 = x_3123;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3126; lean_object* x_3127; lean_object* x_3128; 
lean_dec(x_3018);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3126 = lean_ctor_get(x_3019, 0);
lean_inc(x_3126);
if (lean_is_exclusive(x_3019)) {
 lean_ctor_release(x_3019, 0);
 x_3127 = x_3019;
} else {
 lean_dec_ref(x_3019);
 x_3127 = lean_box(0);
}
lean_inc(x_3126);
if (lean_is_scalar(x_3127)) {
 x_3128 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3128 = x_3127;
}
lean_ctor_set(x_3128, 0, x_3126);
x_14 = x_3128;
x_15 = x_3126;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3129; 
lean_dec(x_3016);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
if (lean_is_scalar(x_3017)) {
 x_3129 = lean_alloc_ctor(0, 1, 0);
} else {
 x_3129 = x_3017;
}
lean_ctor_set(x_3129, 0, x_3014);
return x_3129;
}
}
else
{
lean_object* x_3130; lean_object* x_3131; lean_object* x_3132; 
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3130 = lean_ctor_get(x_3015, 0);
lean_inc(x_3130);
if (lean_is_exclusive(x_3015)) {
 lean_ctor_release(x_3015, 0);
 x_3131 = x_3015;
} else {
 lean_dec_ref(x_3015);
 x_3131 = lean_box(0);
}
lean_inc(x_3130);
if (lean_is_scalar(x_3131)) {
 x_3132 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3132 = x_3131;
}
lean_ctor_set(x_3132, 0, x_3130);
x_14 = x_3132;
x_15 = x_3130;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3133; lean_object* x_3134; lean_object* x_3135; 
lean_dec(x_3001);
lean_dec(x_2993);
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3133 = lean_ctor_get(x_3002, 0);
lean_inc(x_3133);
if (lean_is_exclusive(x_3002)) {
 lean_ctor_release(x_3002, 0);
 x_3134 = x_3002;
} else {
 lean_dec_ref(x_3002);
 x_3134 = lean_box(0);
}
lean_inc(x_3133);
if (lean_is_scalar(x_3134)) {
 x_3135 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3135 = x_3134;
}
lean_ctor_set(x_3135, 0, x_3133);
x_14 = x_3135;
x_15 = x_3133;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3136; lean_object* x_3137; lean_object* x_3138; 
lean_dec(x_2993);
lean_dec(x_2991);
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3136 = lean_ctor_get(x_3000, 0);
lean_inc(x_3136);
if (lean_is_exclusive(x_3000)) {
 lean_ctor_release(x_3000, 0);
 x_3137 = x_3000;
} else {
 lean_dec_ref(x_3000);
 x_3137 = lean_box(0);
}
lean_inc(x_3136);
if (lean_is_scalar(x_3137)) {
 x_3138 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3138 = x_3137;
}
lean_ctor_set(x_3138, 0, x_3136);
x_14 = x_3138;
x_15 = x_3136;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3139; lean_object* x_3140; 
lean_dec(x_2993);
lean_dec(x_2991);
lean_dec(x_2983);
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3139 = lean_box(0);
if (lean_is_scalar(x_2998)) {
 x_3140 = lean_alloc_ctor(0, 1, 0);
} else {
 x_3140 = x_2998;
}
lean_ctor_set(x_3140, 0, x_3139);
return x_3140;
}
}
else
{
lean_object* x_3141; lean_object* x_3142; lean_object* x_3143; 
lean_dec(x_2993);
lean_dec(x_2991);
lean_dec(x_2983);
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3141 = lean_ctor_get(x_2996, 0);
lean_inc(x_3141);
if (lean_is_exclusive(x_2996)) {
 lean_ctor_release(x_2996, 0);
 x_3142 = x_2996;
} else {
 lean_dec_ref(x_2996);
 x_3142 = lean_box(0);
}
lean_inc(x_3141);
if (lean_is_scalar(x_3142)) {
 x_3143 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3143 = x_3142;
}
lean_ctor_set(x_3143, 0, x_3141);
x_14 = x_3143;
x_15 = x_3141;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3144; lean_object* x_3145; lean_object* x_3146; 
lean_dec(x_2993);
lean_dec(x_2991);
lean_dec(x_2983);
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3144 = lean_ctor_get(x_2994, 0);
lean_inc(x_3144);
if (lean_is_exclusive(x_2994)) {
 lean_ctor_release(x_2994, 0);
 x_3145 = x_2994;
} else {
 lean_dec_ref(x_2994);
 x_3145 = lean_box(0);
}
lean_inc(x_3144);
if (lean_is_scalar(x_3145)) {
 x_3146 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3146 = x_3145;
}
lean_ctor_set(x_3146, 0, x_3144);
x_14 = x_3146;
x_15 = x_3144;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3147; lean_object* x_3148; lean_object* x_3149; 
lean_dec(x_2991);
lean_dec(x_2990);
lean_dec(x_2983);
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3147 = lean_ctor_get(x_2992, 0);
lean_inc(x_3147);
if (lean_is_exclusive(x_2992)) {
 lean_ctor_release(x_2992, 0);
 x_3148 = x_2992;
} else {
 lean_dec_ref(x_2992);
 x_3148 = lean_box(0);
}
lean_inc(x_3147);
if (lean_is_scalar(x_3148)) {
 x_3149 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3149 = x_3148;
}
lean_ctor_set(x_3149, 0, x_3147);
x_14 = x_3149;
x_15 = x_3147;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3150; 
lean_dec(x_2983);
lean_dec(x_2982);
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec_ref(x_1);
x_3150 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2987, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2987);
x_20 = x_3150;
goto block_22;
}
}
else
{
lean_object* x_3151; 
lean_dec(x_2983);
lean_dec(x_2982);
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec_ref(x_1);
x_3151 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2987, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2987);
x_20 = x_3151;
goto block_22;
}
}
else
{
lean_object* x_3152; 
lean_dec(x_2983);
lean_dec(x_2982);
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec_ref(x_1);
x_3152 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2987, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2987);
x_20 = x_3152;
goto block_22;
}
}
else
{
lean_object* x_3153; lean_object* x_3154; lean_object* x_3155; 
lean_dec(x_2983);
lean_dec(x_2982);
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3153 = lean_ctor_get(x_2986, 0);
lean_inc(x_3153);
if (lean_is_exclusive(x_2986)) {
 lean_ctor_release(x_2986, 0);
 x_3154 = x_2986;
} else {
 lean_dec_ref(x_2986);
 x_3154 = lean_box(0);
}
lean_inc(x_3153);
if (lean_is_scalar(x_3154)) {
 x_3155 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3155 = x_3154;
}
lean_ctor_set(x_3155, 0, x_3153);
x_14 = x_3155;
x_15 = x_3153;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3156; lean_object* x_3157; lean_object* x_3158; 
lean_dec(x_2983);
lean_dec(x_2982);
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3156 = lean_ctor_get(x_2984, 0);
lean_inc(x_3156);
if (lean_is_exclusive(x_2984)) {
 lean_ctor_release(x_2984, 0);
 x_3157 = x_2984;
} else {
 lean_dec_ref(x_2984);
 x_3157 = lean_box(0);
}
lean_inc(x_3156);
if (lean_is_scalar(x_3157)) {
 x_3158 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3158 = x_3157;
}
lean_ctor_set(x_3158, 0, x_3156);
x_14 = x_3158;
x_15 = x_3156;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3159; 
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec_ref(x_1);
x_3159 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2979, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2979);
x_20 = x_3159;
goto block_22;
}
}
else
{
lean_object* x_3160; 
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec_ref(x_1);
x_3160 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2979, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2979);
x_20 = x_3160;
goto block_22;
}
}
else
{
lean_object* x_3161; 
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec_ref(x_1);
x_3161 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_2979, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2979);
x_20 = x_3161;
goto block_22;
}
}
else
{
lean_object* x_3162; lean_object* x_3163; lean_object* x_3164; 
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3162 = lean_ctor_get(x_2978, 0);
lean_inc(x_3162);
if (lean_is_exclusive(x_2978)) {
 lean_ctor_release(x_2978, 0);
 x_3163 = x_2978;
} else {
 lean_dec_ref(x_2978);
 x_3163 = lean_box(0);
}
lean_inc(x_3162);
if (lean_is_scalar(x_3163)) {
 x_3164 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3164 = x_3163;
}
lean_ctor_set(x_3164, 0, x_3162);
x_14 = x_3164;
x_15 = x_3162;
x_16 = lean_box(0);
goto block_19;
}
}
else
{
lean_object* x_3165; lean_object* x_3166; lean_object* x_3167; 
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3165 = lean_ctor_get(x_2976, 0);
lean_inc(x_3165);
if (lean_is_exclusive(x_2976)) {
 lean_ctor_release(x_2976, 0);
 x_3166 = x_2976;
} else {
 lean_dec_ref(x_2976);
 x_3166 = lean_box(0);
}
lean_inc(x_3165);
if (lean_is_scalar(x_3166)) {
 x_3167 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3167 = x_3166;
}
lean_ctor_set(x_3167, 0, x_3165);
x_14 = x_3167;
x_15 = x_3165;
x_16 = lean_box(0);
goto block_19;
}
}
}
else
{
lean_object* x_3168; 
lean_dec(x_2969);
lean_dec(x_2964);
lean_dec(x_2956);
lean_dec(x_2947);
lean_dec(x_2943);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_3168 = l_Lean_Meta_isMonad_x3f(x_2954, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3168) == 0)
{
lean_object* x_3169; lean_object* x_3170; 
x_3169 = lean_ctor_get(x_3168, 0);
lean_inc(x_3169);
if (lean_is_exclusive(x_3168)) {
 lean_ctor_release(x_3168, 0);
 x_3170 = x_3168;
} else {
 lean_dec_ref(x_3168);
 x_3170 = lean_box(0);
}
if (lean_obj_tag(x_3169) == 1)
{
lean_object* x_3171; lean_object* x_3172; lean_object* x_3173; lean_object* x_3174; lean_object* x_3175; lean_object* x_3176; lean_object* x_3177; uint8_t x_3178; lean_object* x_3187; lean_object* x_3188; lean_object* x_3192; lean_object* x_3193; lean_object* x_3194; lean_object* x_3195; lean_object* x_3196; lean_object* x_3197; lean_object* x_3198; lean_object* x_3199; lean_object* x_3200; 
x_3171 = l_Lean_Meta_coerceMonadLift_x3f___closed__15;
if (lean_is_scalar(x_2961)) {
 x_3172 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3172 = x_2961;
}
lean_ctor_set(x_3172, 0, x_2962);
if (lean_is_scalar(x_2953)) {
 x_3173 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3173 = x_2953;
}
lean_ctor_set(x_3173, 0, x_2963);
if (lean_is_scalar(x_2948)) {
 x_3174 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3174 = x_2948;
 lean_ctor_set_tag(x_3174, 1);
}
lean_ctor_set(x_3174, 0, x_2955);
x_3175 = lean_box(0);
x_3192 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_3192, 0, x_1);
x_3193 = l_Lean_Meta_coerceMonadLift_x3f___closed__16;
x_3194 = lean_array_push(x_3193, x_3172);
x_3195 = lean_array_push(x_3194, x_3173);
x_3196 = lean_array_push(x_3195, x_3174);
x_3197 = lean_array_push(x_3196, x_3175);
x_3198 = lean_array_push(x_3197, x_3169);
x_3199 = lean_array_push(x_3198, x_3192);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_3200 = l_Lean_Meta_mkAppOptM(x_3171, x_3199, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3200) == 0)
{
lean_object* x_3201; lean_object* x_3202; lean_object* x_3203; 
x_3201 = lean_ctor_get(x_3200, 0);
lean_inc(x_3201);
if (lean_is_exclusive(x_3200)) {
 lean_ctor_release(x_3200, 0);
 x_3202 = x_3200;
} else {
 lean_dec_ref(x_3200);
 x_3202 = lean_box(0);
}
lean_inc(x_6);
lean_inc(x_4);
x_3203 = l_Lean_Meta_expandCoe(x_3201, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_3203) == 0)
{
lean_object* x_3204; lean_object* x_3205; lean_object* x_3206; lean_object* x_3207; 
lean_dec(x_3170);
lean_dec(x_2966);
lean_dec(x_6);
lean_dec(x_4);
x_3204 = lean_ctor_get(x_3203, 0);
lean_inc(x_3204);
if (lean_is_exclusive(x_3203)) {
 lean_ctor_release(x_3203, 0);
 x_3205 = x_3203;
} else {
 lean_dec_ref(x_3203);
 x_3205 = lean_box(0);
}
if (lean_is_scalar(x_3202)) {
 x_3206 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3206 = x_3202;
 lean_ctor_set_tag(x_3206, 1);
}
lean_ctor_set(x_3206, 0, x_3204);
if (lean_is_scalar(x_3205)) {
 x_3207 = lean_alloc_ctor(0, 1, 0);
} else {
 x_3207 = x_3205;
}
lean_ctor_set(x_3207, 0, x_3206);
return x_3207;
}
else
{
lean_object* x_3208; 
lean_dec(x_3202);
x_3208 = lean_ctor_get(x_3203, 0);
lean_inc(x_3208);
lean_dec_ref(x_3203);
x_3187 = x_3208;
x_3188 = lean_box(0);
goto block_3191;
}
}
else
{
lean_object* x_3209; 
lean_dec_ref(x_5);
lean_dec_ref(x_3);
x_3209 = lean_ctor_get(x_3200, 0);
lean_inc(x_3209);
lean_dec_ref(x_3200);
x_3187 = x_3209;
x_3188 = lean_box(0);
goto block_3191;
}
block_3186:
{
if (x_3178 == 0)
{
lean_object* x_3179; 
lean_dec_ref(x_3176);
lean_dec(x_3170);
x_3179 = l_Lean_Meta_SavedState_restore___redArg(x_2966, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_2966);
if (lean_obj_tag(x_3179) == 0)
{
lean_object* x_3180; lean_object* x_3181; 
if (lean_is_exclusive(x_3179)) {
 lean_ctor_release(x_3179, 0);
 x_3180 = x_3179;
} else {
 lean_dec_ref(x_3179);
 x_3180 = lean_box(0);
}
if (lean_is_scalar(x_3180)) {
 x_3181 = lean_alloc_ctor(0, 1, 0);
} else {
 x_3181 = x_3180;
}
lean_ctor_set(x_3181, 0, x_3175);
return x_3181;
}
else
{
lean_object* x_3182; lean_object* x_3183; lean_object* x_3184; 
x_3182 = lean_ctor_get(x_3179, 0);
lean_inc(x_3182);
if (lean_is_exclusive(x_3179)) {
 lean_ctor_release(x_3179, 0);
 x_3183 = x_3179;
} else {
 lean_dec_ref(x_3179);
 x_3183 = lean_box(0);
}
if (lean_is_scalar(x_3183)) {
 x_3184 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3184 = x_3183;
}
lean_ctor_set(x_3184, 0, x_3182);
return x_3184;
}
}
else
{
lean_object* x_3185; 
lean_dec(x_2966);
lean_dec(x_6);
lean_dec(x_4);
if (lean_is_scalar(x_3170)) {
 x_3185 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3185 = x_3170;
 lean_ctor_set_tag(x_3185, 1);
}
lean_ctor_set(x_3185, 0, x_3176);
return x_3185;
}
}
block_3191:
{
uint8_t x_3189; 
x_3189 = l_Lean_Exception_isInterrupt(x_3187);
if (x_3189 == 0)
{
uint8_t x_3190; 
x_3190 = l_Lean_Exception_isRuntime(x_3187);
x_3176 = x_3187;
x_3177 = lean_box(0);
x_3178 = x_3190;
goto block_3186;
}
else
{
x_3176 = x_3187;
x_3177 = lean_box(0);
x_3178 = x_3189;
goto block_3186;
}
}
}
else
{
lean_object* x_3210; 
lean_dec(x_3170);
lean_dec(x_3169);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2955);
lean_dec(x_2953);
lean_dec(x_2948);
lean_dec_ref(x_5);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3210 = l_Lean_Meta_SavedState_restore___redArg(x_2966, x_4, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_2966);
if (lean_obj_tag(x_3210) == 0)
{
lean_object* x_3211; lean_object* x_3212; lean_object* x_3213; 
if (lean_is_exclusive(x_3210)) {
 lean_ctor_release(x_3210, 0);
 x_3211 = x_3210;
} else {
 lean_dec_ref(x_3210);
 x_3211 = lean_box(0);
}
x_3212 = lean_box(0);
if (lean_is_scalar(x_3211)) {
 x_3213 = lean_alloc_ctor(0, 1, 0);
} else {
 x_3213 = x_3211;
}
lean_ctor_set(x_3213, 0, x_3212);
return x_3213;
}
else
{
lean_object* x_3214; lean_object* x_3215; lean_object* x_3216; 
x_3214 = lean_ctor_get(x_3210, 0);
lean_inc(x_3214);
if (lean_is_exclusive(x_3210)) {
 lean_ctor_release(x_3210, 0);
 x_3215 = x_3210;
} else {
 lean_dec_ref(x_3210);
 x_3215 = lean_box(0);
}
if (lean_is_scalar(x_3215)) {
 x_3216 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3216 = x_3215;
}
lean_ctor_set(x_3216, 0, x_3214);
return x_3216;
}
}
}
else
{
lean_dec(x_2966);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2955);
lean_dec(x_2953);
lean_dec(x_2948);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
return x_3168;
}
}
}
else
{
lean_object* x_3217; lean_object* x_3218; lean_object* x_3219; 
lean_dec(x_2966);
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2953);
lean_dec(x_2948);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3217 = lean_ctor_get(x_2967, 0);
lean_inc(x_3217);
if (lean_is_exclusive(x_2967)) {
 lean_ctor_release(x_2967, 0);
 x_3218 = x_2967;
} else {
 lean_dec_ref(x_2967);
 x_3218 = lean_box(0);
}
if (lean_is_scalar(x_3218)) {
 x_3219 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3219 = x_3218;
}
lean_ctor_set(x_3219, 0, x_3217);
return x_3219;
}
}
else
{
lean_object* x_3220; lean_object* x_3221; lean_object* x_3222; 
lean_dec(x_2964);
lean_dec(x_2963);
lean_dec(x_2962);
lean_dec(x_2961);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2953);
lean_dec(x_2948);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3220 = lean_ctor_get(x_2965, 0);
lean_inc(x_3220);
if (lean_is_exclusive(x_2965)) {
 lean_ctor_release(x_2965, 0);
 x_3221 = x_2965;
} else {
 lean_dec_ref(x_2965);
 x_3221 = lean_box(0);
}
if (lean_is_scalar(x_3221)) {
 x_3222 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3222 = x_3221;
}
lean_ctor_set(x_3222, 0, x_3220);
return x_3222;
}
}
else
{
lean_object* x_3223; lean_object* x_3224; 
lean_dec(x_2958);
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2953);
lean_dec(x_2948);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3223 = lean_box(0);
if (lean_is_scalar(x_2959)) {
 x_3224 = lean_alloc_ctor(0, 1, 0);
} else {
 x_3224 = x_2959;
}
lean_ctor_set(x_3224, 0, x_3223);
return x_3224;
}
}
else
{
lean_object* x_3225; lean_object* x_3226; lean_object* x_3227; 
lean_dec(x_2956);
lean_dec(x_2955);
lean_dec(x_2954);
lean_dec(x_2953);
lean_dec(x_2948);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3225 = lean_ctor_get(x_2957, 0);
lean_inc(x_3225);
if (lean_is_exclusive(x_2957)) {
 lean_ctor_release(x_2957, 0);
 x_3226 = x_2957;
} else {
 lean_dec_ref(x_2957);
 x_3226 = lean_box(0);
}
if (lean_is_scalar(x_3226)) {
 x_3227 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3227 = x_3226;
}
lean_ctor_set(x_3227, 0, x_3225);
return x_3227;
}
}
else
{
lean_object* x_3228; lean_object* x_3229; 
lean_dec(x_2950);
lean_dec(x_2948);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3228 = lean_box(0);
if (lean_is_scalar(x_2951)) {
 x_3229 = lean_alloc_ctor(0, 1, 0);
} else {
 x_3229 = x_2951;
}
lean_ctor_set(x_3229, 0, x_3228);
return x_3229;
}
}
else
{
lean_object* x_3230; lean_object* x_3231; lean_object* x_3232; 
lean_dec(x_2948);
lean_dec(x_2947);
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3230 = lean_ctor_get(x_2949, 0);
lean_inc(x_3230);
if (lean_is_exclusive(x_2949)) {
 lean_ctor_release(x_2949, 0);
 x_3231 = x_2949;
} else {
 lean_dec_ref(x_2949);
 x_3231 = lean_box(0);
}
if (lean_is_scalar(x_3231)) {
 x_3232 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3232 = x_3231;
}
lean_ctor_set(x_3232, 0, x_3230);
return x_3232;
}
}
else
{
lean_object* x_3233; lean_object* x_3234; lean_object* x_3235; 
lean_dec(x_2943);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_3233 = lean_ctor_get(x_2944, 0);
lean_inc(x_3233);
if (lean_is_exclusive(x_2944)) {
 lean_ctor_release(x_2944, 0);
 x_3234 = x_2944;
} else {
 lean_dec_ref(x_2944);
 x_3234 = lean_box(0);
}
if (lean_is_scalar(x_3234)) {
 x_3235 = lean_alloc_ctor(1, 1, 0);
} else {
 x_3235 = x_3234;
}
lean_ctor_set(x_3235, 0, x_3233);
return x_3235;
}
}
block_13:
{
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; 
lean_dec_ref(x_8);
x_11 = lean_box(0);
x_12 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
else
{
return x_8;
}
}
block_19:
{
uint8_t x_17; 
x_17 = l_Lean_Exception_isInterrupt(x_15);
if (x_17 == 0)
{
uint8_t x_18; 
x_18 = l_Lean_Exception_isRuntime(x_15);
lean_dec_ref(x_15);
x_8 = x_14;
x_9 = lean_box(0);
x_10 = x_18;
goto block_13;
}
else
{
lean_dec_ref(x_15);
x_8 = x_14;
x_9 = lean_box(0);
x_10 = x_17;
goto block_13;
}
}
block_22:
{
if (lean_obj_tag(x_20) == 0)
{
return x_20;
}
else
{
lean_object* x_21; 
x_21 = lean_ctor_get(x_20, 0);
lean_inc(x_21);
x_14 = x_20;
x_15 = x_21;
x_16 = lean_box(0);
goto block_19;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Meta_coerceMonadLift_x3f_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lean_Option_get___at___00Lean_Meta_coerceMonadLift_x3f_spec__0(x_1, x_2);
lean_dec_ref(x_2);
lean_dec(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_coerceMonadLift_x3f___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_coerceMonadLift_x3f___lam__0(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_coerceMonadLift_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Meta_coerceMonadLift_x3f(x_1, x_2, x_3, x_4, x_5, x_6);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_coerce_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; 
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_2);
lean_inc_ref(x_1);
x_8 = l_Lean_Meta_coerceMonadLift_x3f(x_1, x_2, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_8) == 0)
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
lean_object* x_10; 
x_10 = lean_ctor_get(x_8, 0);
if (lean_obj_tag(x_10) == 1)
{
uint8_t x_11; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_11 = !lean_is_exclusive(x_10);
if (x_11 == 0)
{
return x_8;
}
else
{
lean_object* x_12; lean_object* x_13; 
x_12 = lean_ctor_get(x_10, 0);
lean_inc(x_12);
lean_dec(x_10);
x_13 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_13, 0, x_12);
lean_ctor_set(x_8, 0, x_13);
return x_8;
}
}
else
{
lean_object* x_14; 
lean_free_object(x_8);
lean_dec(x_10);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_2);
x_14 = l_Lean_Meta_whnfR(x_2, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; uint8_t x_16; 
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
lean_dec_ref(x_14);
x_16 = l_Lean_Expr_isForall(x_15);
lean_dec(x_15);
if (x_16 == 0)
{
lean_object* x_17; 
x_17 = l_Lean_Meta_coerceSimple_x3f(x_1, x_2, x_3, x_4, x_5, x_6);
return x_17;
}
else
{
lean_object* x_18; 
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_1);
x_18 = l_Lean_Meta_coerceToFunction_x3f(x_1, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_19; 
x_19 = lean_ctor_get(x_18, 0);
lean_inc(x_19);
lean_dec_ref(x_18);
if (lean_obj_tag(x_19) == 1)
{
uint8_t x_20; 
x_20 = !lean_is_exclusive(x_19);
if (x_20 == 0)
{
lean_object* x_21; lean_object* x_22; 
x_21 = lean_ctor_get(x_19, 0);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_21);
x_22 = lean_infer_type(x_21, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_22) == 0)
{
lean_object* x_23; lean_object* x_24; 
x_23 = lean_ctor_get(x_22, 0);
lean_inc(x_23);
lean_dec_ref(x_22);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_2);
x_24 = l_Lean_Meta_isExprDefEq(x_23, x_2, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_24) == 0)
{
uint8_t x_25; 
x_25 = !lean_is_exclusive(x_24);
if (x_25 == 0)
{
lean_object* x_26; uint8_t x_27; 
x_26 = lean_ctor_get(x_24, 0);
x_27 = lean_unbox(x_26);
lean_dec(x_26);
if (x_27 == 0)
{
lean_object* x_28; 
lean_free_object(x_24);
lean_free_object(x_19);
lean_dec(x_21);
x_28 = l_Lean_Meta_coerceSimple_x3f(x_1, x_2, x_3, x_4, x_5, x_6);
return x_28;
}
else
{
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
lean_ctor_set(x_24, 0, x_19);
return x_24;
}
}
else
{
lean_object* x_29; uint8_t x_30; 
x_29 = lean_ctor_get(x_24, 0);
lean_inc(x_29);
lean_dec(x_24);
x_30 = lean_unbox(x_29);
lean_dec(x_29);
if (x_30 == 0)
{
lean_object* x_31; 
lean_free_object(x_19);
lean_dec(x_21);
x_31 = l_Lean_Meta_coerceSimple_x3f(x_1, x_2, x_3, x_4, x_5, x_6);
return x_31;
}
else
{
lean_object* x_32; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_32 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_32, 0, x_19);
return x_32;
}
}
}
else
{
uint8_t x_33; 
lean_free_object(x_19);
lean_dec(x_21);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_33 = !lean_is_exclusive(x_24);
if (x_33 == 0)
{
return x_24;
}
else
{
lean_object* x_34; lean_object* x_35; 
x_34 = lean_ctor_get(x_24, 0);
lean_inc(x_34);
lean_dec(x_24);
x_35 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_35, 0, x_34);
return x_35;
}
}
}
else
{
uint8_t x_36; 
lean_free_object(x_19);
lean_dec(x_21);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_36 = !lean_is_exclusive(x_22);
if (x_36 == 0)
{
return x_22;
}
else
{
lean_object* x_37; lean_object* x_38; 
x_37 = lean_ctor_get(x_22, 0);
lean_inc(x_37);
lean_dec(x_22);
x_38 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_38, 0, x_37);
return x_38;
}
}
}
else
{
lean_object* x_39; lean_object* x_40; 
x_39 = lean_ctor_get(x_19, 0);
lean_inc(x_39);
lean_dec(x_19);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_39);
x_40 = lean_infer_type(x_39, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_40) == 0)
{
lean_object* x_41; lean_object* x_42; 
x_41 = lean_ctor_get(x_40, 0);
lean_inc(x_41);
lean_dec_ref(x_40);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_2);
x_42 = l_Lean_Meta_isExprDefEq(x_41, x_2, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_42) == 0)
{
lean_object* x_43; lean_object* x_44; uint8_t x_45; 
x_43 = lean_ctor_get(x_42, 0);
lean_inc(x_43);
if (lean_is_exclusive(x_42)) {
 lean_ctor_release(x_42, 0);
 x_44 = x_42;
} else {
 lean_dec_ref(x_42);
 x_44 = lean_box(0);
}
x_45 = lean_unbox(x_43);
lean_dec(x_43);
if (x_45 == 0)
{
lean_object* x_46; 
lean_dec(x_44);
lean_dec(x_39);
x_46 = l_Lean_Meta_coerceSimple_x3f(x_1, x_2, x_3, x_4, x_5, x_6);
return x_46;
}
else
{
lean_object* x_47; lean_object* x_48; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_47 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_47, 0, x_39);
if (lean_is_scalar(x_44)) {
 x_48 = lean_alloc_ctor(0, 1, 0);
} else {
 x_48 = x_44;
}
lean_ctor_set(x_48, 0, x_47);
return x_48;
}
}
else
{
lean_object* x_49; lean_object* x_50; lean_object* x_51; 
lean_dec(x_39);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_49 = lean_ctor_get(x_42, 0);
lean_inc(x_49);
if (lean_is_exclusive(x_42)) {
 lean_ctor_release(x_42, 0);
 x_50 = x_42;
} else {
 lean_dec_ref(x_42);
 x_50 = lean_box(0);
}
if (lean_is_scalar(x_50)) {
 x_51 = lean_alloc_ctor(1, 1, 0);
} else {
 x_51 = x_50;
}
lean_ctor_set(x_51, 0, x_49);
return x_51;
}
}
else
{
lean_object* x_52; lean_object* x_53; lean_object* x_54; 
lean_dec(x_39);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_52 = lean_ctor_get(x_40, 0);
lean_inc(x_52);
if (lean_is_exclusive(x_40)) {
 lean_ctor_release(x_40, 0);
 x_53 = x_40;
} else {
 lean_dec_ref(x_40);
 x_53 = lean_box(0);
}
if (lean_is_scalar(x_53)) {
 x_54 = lean_alloc_ctor(1, 1, 0);
} else {
 x_54 = x_53;
}
lean_ctor_set(x_54, 0, x_52);
return x_54;
}
}
}
else
{
lean_object* x_55; 
lean_dec(x_19);
x_55 = l_Lean_Meta_coerceSimple_x3f(x_1, x_2, x_3, x_4, x_5, x_6);
return x_55;
}
}
else
{
uint8_t x_56; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_56 = !lean_is_exclusive(x_18);
if (x_56 == 0)
{
return x_18;
}
else
{
lean_object* x_57; lean_object* x_58; 
x_57 = lean_ctor_get(x_18, 0);
lean_inc(x_57);
lean_dec(x_18);
x_58 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_58, 0, x_57);
return x_58;
}
}
}
}
else
{
uint8_t x_59; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_59 = !lean_is_exclusive(x_14);
if (x_59 == 0)
{
return x_14;
}
else
{
lean_object* x_60; lean_object* x_61; 
x_60 = lean_ctor_get(x_14, 0);
lean_inc(x_60);
lean_dec(x_14);
x_61 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_61, 0, x_60);
return x_61;
}
}
}
}
else
{
lean_object* x_62; 
x_62 = lean_ctor_get(x_8, 0);
lean_inc(x_62);
lean_dec(x_8);
if (lean_obj_tag(x_62) == 1)
{
lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_63 = lean_ctor_get(x_62, 0);
lean_inc(x_63);
if (lean_is_exclusive(x_62)) {
 lean_ctor_release(x_62, 0);
 x_64 = x_62;
} else {
 lean_dec_ref(x_62);
 x_64 = lean_box(0);
}
if (lean_is_scalar(x_64)) {
 x_65 = lean_alloc_ctor(1, 1, 0);
} else {
 x_65 = x_64;
}
lean_ctor_set(x_65, 0, x_63);
x_66 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_66, 0, x_65);
return x_66;
}
else
{
lean_object* x_67; 
lean_dec(x_62);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_2);
x_67 = l_Lean_Meta_whnfR(x_2, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_67) == 0)
{
lean_object* x_68; uint8_t x_69; 
x_68 = lean_ctor_get(x_67, 0);
lean_inc(x_68);
lean_dec_ref(x_67);
x_69 = l_Lean_Expr_isForall(x_68);
lean_dec(x_68);
if (x_69 == 0)
{
lean_object* x_70; 
x_70 = l_Lean_Meta_coerceSimple_x3f(x_1, x_2, x_3, x_4, x_5, x_6);
return x_70;
}
else
{
lean_object* x_71; 
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_1);
x_71 = l_Lean_Meta_coerceToFunction_x3f(x_1, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_71) == 0)
{
lean_object* x_72; 
x_72 = lean_ctor_get(x_71, 0);
lean_inc(x_72);
lean_dec_ref(x_71);
if (lean_obj_tag(x_72) == 1)
{
lean_object* x_73; lean_object* x_74; lean_object* x_75; 
x_73 = lean_ctor_get(x_72, 0);
lean_inc(x_73);
if (lean_is_exclusive(x_72)) {
 lean_ctor_release(x_72, 0);
 x_74 = x_72;
} else {
 lean_dec_ref(x_72);
 x_74 = lean_box(0);
}
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_73);
x_75 = lean_infer_type(x_73, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_75) == 0)
{
lean_object* x_76; lean_object* x_77; 
x_76 = lean_ctor_get(x_75, 0);
lean_inc(x_76);
lean_dec_ref(x_75);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_2);
x_77 = l_Lean_Meta_isExprDefEq(x_76, x_2, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_77) == 0)
{
lean_object* x_78; lean_object* x_79; uint8_t x_80; 
x_78 = lean_ctor_get(x_77, 0);
lean_inc(x_78);
if (lean_is_exclusive(x_77)) {
 lean_ctor_release(x_77, 0);
 x_79 = x_77;
} else {
 lean_dec_ref(x_77);
 x_79 = lean_box(0);
}
x_80 = lean_unbox(x_78);
lean_dec(x_78);
if (x_80 == 0)
{
lean_object* x_81; 
lean_dec(x_79);
lean_dec(x_74);
lean_dec(x_73);
x_81 = l_Lean_Meta_coerceSimple_x3f(x_1, x_2, x_3, x_4, x_5, x_6);
return x_81;
}
else
{
lean_object* x_82; lean_object* x_83; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
if (lean_is_scalar(x_74)) {
 x_82 = lean_alloc_ctor(1, 1, 0);
} else {
 x_82 = x_74;
}
lean_ctor_set(x_82, 0, x_73);
if (lean_is_scalar(x_79)) {
 x_83 = lean_alloc_ctor(0, 1, 0);
} else {
 x_83 = x_79;
}
lean_ctor_set(x_83, 0, x_82);
return x_83;
}
}
else
{
lean_object* x_84; lean_object* x_85; lean_object* x_86; 
lean_dec(x_74);
lean_dec(x_73);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_84 = lean_ctor_get(x_77, 0);
lean_inc(x_84);
if (lean_is_exclusive(x_77)) {
 lean_ctor_release(x_77, 0);
 x_85 = x_77;
} else {
 lean_dec_ref(x_77);
 x_85 = lean_box(0);
}
if (lean_is_scalar(x_85)) {
 x_86 = lean_alloc_ctor(1, 1, 0);
} else {
 x_86 = x_85;
}
lean_ctor_set(x_86, 0, x_84);
return x_86;
}
}
else
{
lean_object* x_87; lean_object* x_88; lean_object* x_89; 
lean_dec(x_74);
lean_dec(x_73);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_87 = lean_ctor_get(x_75, 0);
lean_inc(x_87);
if (lean_is_exclusive(x_75)) {
 lean_ctor_release(x_75, 0);
 x_88 = x_75;
} else {
 lean_dec_ref(x_75);
 x_88 = lean_box(0);
}
if (lean_is_scalar(x_88)) {
 x_89 = lean_alloc_ctor(1, 1, 0);
} else {
 x_89 = x_88;
}
lean_ctor_set(x_89, 0, x_87);
return x_89;
}
}
else
{
lean_object* x_90; 
lean_dec(x_72);
x_90 = l_Lean_Meta_coerceSimple_x3f(x_1, x_2, x_3, x_4, x_5, x_6);
return x_90;
}
}
else
{
lean_object* x_91; lean_object* x_92; lean_object* x_93; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_91 = lean_ctor_get(x_71, 0);
lean_inc(x_91);
if (lean_is_exclusive(x_71)) {
 lean_ctor_release(x_71, 0);
 x_92 = x_71;
} else {
 lean_dec_ref(x_71);
 x_92 = lean_box(0);
}
if (lean_is_scalar(x_92)) {
 x_93 = lean_alloc_ctor(1, 1, 0);
} else {
 x_93 = x_92;
}
lean_ctor_set(x_93, 0, x_91);
return x_93;
}
}
}
else
{
lean_object* x_94; lean_object* x_95; lean_object* x_96; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_94 = lean_ctor_get(x_67, 0);
lean_inc(x_94);
if (lean_is_exclusive(x_67)) {
 lean_ctor_release(x_67, 0);
 x_95 = x_67;
} else {
 lean_dec_ref(x_67);
 x_95 = lean_box(0);
}
if (lean_is_scalar(x_95)) {
 x_96 = lean_alloc_ctor(1, 1, 0);
} else {
 x_96 = x_95;
}
lean_ctor_set(x_96, 0, x_94);
return x_96;
}
}
}
}
else
{
uint8_t x_97; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_97 = !lean_is_exclusive(x_8);
if (x_97 == 0)
{
return x_8;
}
else
{
lean_object* x_98; lean_object* x_99; 
x_98 = lean_ctor_get(x_8, 0);
lean_inc(x_98);
lean_dec(x_8);
x_99 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_99, 0, x_98);
return x_99;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_coerce_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Meta_coerce_x3f(x_1, x_2, x_3, x_4, x_5, x_6);
return x_8;
}
}
lean_object* initialize_Lean_Meta_AppBuilder(uint8_t builtin);
lean_object* initialize_Lean_ExtraModUses(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Meta_Coe(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Meta_AppBuilder(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_ExtraModUses(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_ = _init_l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_();
lean_mark_persistent(l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_);
l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_ = _init_l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_();
lean_mark_persistent(l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_);
l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_ = _init_l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_();
lean_mark_persistent(l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_);
l_Lean_Meta_initFn___closed__3_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_ = _init_l_Lean_Meta_initFn___closed__3_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_();
lean_mark_persistent(l_Lean_Meta_initFn___closed__3_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_);
l_Lean_Meta_initFn___closed__4_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_ = _init_l_Lean_Meta_initFn___closed__4_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_();
lean_mark_persistent(l_Lean_Meta_initFn___closed__4_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_);
l_Lean_Meta_initFn___closed__5_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_ = _init_l_Lean_Meta_initFn___closed__5_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_();
lean_mark_persistent(l_Lean_Meta_initFn___closed__5_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_);
l_Lean_Meta_initFn___closed__6_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_ = _init_l_Lean_Meta_initFn___closed__6_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_();
lean_mark_persistent(l_Lean_Meta_initFn___closed__6_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_);
if (builtin) {res = l_Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1863807188____hygCtx___hyg_2_();
if (lean_io_result_is_error(res)) return res;
l_Lean_Meta_coeDeclAttr = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_Meta_coeDeclAttr);
lean_dec_ref(res);
}l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_docString__1___closed__0 = _init_l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_docString__1___closed__0();
lean_mark_persistent(l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_docString__1___closed__0);
if (builtin) {res = l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_docString__1();
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__0 = _init_l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__0();
lean_mark_persistent(l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__0);
l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__1 = _init_l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__1();
lean_mark_persistent(l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__1);
l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__2 = _init_l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__2();
lean_mark_persistent(l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__2);
l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__3 = _init_l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__3();
lean_mark_persistent(l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__3);
l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__4 = _init_l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__4();
lean_mark_persistent(l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__4);
l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__5 = _init_l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__5();
lean_mark_persistent(l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__5);
l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__6 = _init_l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__6();
lean_mark_persistent(l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3___closed__6);
if (builtin) {res = l_Lean_Meta_coeDeclAttr___regBuiltin_Lean_Meta_coeDeclAttr_declRange__3();
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Meta_isCoeDecl___closed__0 = _init_l_Lean_Meta_isCoeDecl___closed__0();
lean_mark_persistent(l_Lean_Meta_isCoeDecl___closed__0);
l___private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget___closed__0 = _init_l___private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget___closed__0();
lean_mark_persistent(l___private_Lean_Meta_Coe_0__Lean_Meta_recProjTarget___closed__0);
l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__3 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__3();
lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__3);
l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__4 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__4();
lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__4);
l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__5 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__5();
lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__5);
l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__1();
lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__1);
l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__0 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__0();
lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__0);
l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__2();
lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__2);
l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__6 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__6();
lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11_spec__21_spec__21___redArg___closed__6);
l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg___closed__0();
l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg___closed__1 = _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__0_spec__0___redArg___closed__1();
l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1___closed__0 = _init_l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1___closed__0();
lean_mark_persistent(l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11_spec__11___lam__1___closed__0);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__1 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__1();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__1);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__0 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__0();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__0);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__2 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__2();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__2);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__3 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__3();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__3);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__4 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__4();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__4);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__5 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__5();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__5);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__6 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__6();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__6);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__7 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__7();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__7);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__8 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__8();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__8);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__9 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__9();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__9);
l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__0 = _init_l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__0();
l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__1 = _init_l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__1();
lean_mark_persistent(l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__1);
l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__2 = _init_l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__2();
lean_mark_persistent(l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0_spec__4___closed__2);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__10 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__10();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__10);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__11 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__11();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__11);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__12 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__12();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__12);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__13 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__13();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__13);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__14 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__14();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__14);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__15 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__15();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__15);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__16 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__16();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__16);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__17 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__17();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__17);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__18 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__18();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__18);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__19 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__19();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__19);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__20 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__20();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__20);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__21 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__21();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__21);
l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__22 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__22();
lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0_spec__0___closed__22);
l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__0 = _init_l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__0();
lean_mark_persistent(l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__0);
l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__1 = _init_l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__1();
lean_mark_persistent(l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__1);
l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__2 = _init_l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__2();
lean_mark_persistent(l_Lean_Meta_transform___at___00Lean_Meta_expandCoe_spec__11___closed__2);
l_Lean_Meta_expandCoe___lam__1___closed__0 = _init_l_Lean_Meta_expandCoe___lam__1___closed__0();
lean_mark_persistent(l_Lean_Meta_expandCoe___lam__1___closed__0);
l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__1 = _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__1();
lean_mark_persistent(l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__1);
l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__0 = _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__0();
lean_mark_persistent(l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__0);
l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__2 = _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__2();
lean_mark_persistent(l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__2);
l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__3 = _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__3();
lean_mark_persistent(l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__3);
l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__4 = _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__4();
lean_mark_persistent(l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__4);
l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__5 = _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__5();
lean_mark_persistent(l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_expandCoe_spec__0___closed__5);
l_Lean_Meta_expandCoe___closed__0 = _init_l_Lean_Meta_expandCoe___closed__0();
l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_ = _init_l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_();
lean_mark_persistent(l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_);
l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_ = _init_l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_();
lean_mark_persistent(l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_);
l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_ = _init_l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_();
lean_mark_persistent(l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_);
l_Lean_Meta_initFn___closed__3_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_ = _init_l_Lean_Meta_initFn___closed__3_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_();
lean_mark_persistent(l_Lean_Meta_initFn___closed__3_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_);
l_Lean_Meta_initFn___closed__4_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_ = _init_l_Lean_Meta_initFn___closed__4_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_();
lean_mark_persistent(l_Lean_Meta_initFn___closed__4_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_);
if (builtin) {res = l_Lean_Meta_initFn_00___x40_Lean_Meta_Coe_1330821246____hygCtx___hyg_4_();
if (lean_io_result_is_error(res)) return res;
l_Lean_Meta_autoLift = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_Meta_autoLift);
lean_dec_ref(res);
}l_Lean_Meta_coerceSimple_x3f___closed__0 = _init_l_Lean_Meta_coerceSimple_x3f___closed__0();
lean_mark_persistent(l_Lean_Meta_coerceSimple_x3f___closed__0);
l_Lean_Meta_coerceSimple_x3f___closed__1 = _init_l_Lean_Meta_coerceSimple_x3f___closed__1();
lean_mark_persistent(l_Lean_Meta_coerceSimple_x3f___closed__1);
l_Lean_Meta_coerceSimple_x3f___closed__2 = _init_l_Lean_Meta_coerceSimple_x3f___closed__2();
lean_mark_persistent(l_Lean_Meta_coerceSimple_x3f___closed__2);
l_Lean_Meta_coerceSimple_x3f___closed__3 = _init_l_Lean_Meta_coerceSimple_x3f___closed__3();
lean_mark_persistent(l_Lean_Meta_coerceSimple_x3f___closed__3);
l_Lean_Meta_coerceSimple_x3f___closed__4 = _init_l_Lean_Meta_coerceSimple_x3f___closed__4();
lean_mark_persistent(l_Lean_Meta_coerceSimple_x3f___closed__4);
l_Lean_Meta_coerceSimple_x3f___closed__5 = _init_l_Lean_Meta_coerceSimple_x3f___closed__5();
lean_mark_persistent(l_Lean_Meta_coerceSimple_x3f___closed__5);
l_Lean_Meta_coerceSimple_x3f___closed__6 = _init_l_Lean_Meta_coerceSimple_x3f___closed__6();
lean_mark_persistent(l_Lean_Meta_coerceSimple_x3f___closed__6);
l_Lean_Meta_coerceSimple_x3f___closed__7 = _init_l_Lean_Meta_coerceSimple_x3f___closed__7();
lean_mark_persistent(l_Lean_Meta_coerceSimple_x3f___closed__7);
l_Lean_Meta_coerceSimple_x3f___closed__8 = _init_l_Lean_Meta_coerceSimple_x3f___closed__8();
lean_mark_persistent(l_Lean_Meta_coerceSimple_x3f___closed__8);
l_Lean_Meta_coerceSimple_x3f___closed__9 = _init_l_Lean_Meta_coerceSimple_x3f___closed__9();
lean_mark_persistent(l_Lean_Meta_coerceSimple_x3f___closed__9);
l_Lean_Meta_coerceSimple_x3f___closed__10 = _init_l_Lean_Meta_coerceSimple_x3f___closed__10();
lean_mark_persistent(l_Lean_Meta_coerceSimple_x3f___closed__10);
l_Lean_Meta_coerceSimple_x3f___closed__11 = _init_l_Lean_Meta_coerceSimple_x3f___closed__11();
lean_mark_persistent(l_Lean_Meta_coerceSimple_x3f___closed__11);
l_Lean_Meta_coerceToFunction_x3f___closed__0 = _init_l_Lean_Meta_coerceToFunction_x3f___closed__0();
lean_mark_persistent(l_Lean_Meta_coerceToFunction_x3f___closed__0);
l_Lean_Meta_coerceToFunction_x3f___closed__1 = _init_l_Lean_Meta_coerceToFunction_x3f___closed__1();
lean_mark_persistent(l_Lean_Meta_coerceToFunction_x3f___closed__1);
l_Lean_Meta_coerceToFunction_x3f___closed__2 = _init_l_Lean_Meta_coerceToFunction_x3f___closed__2();
lean_mark_persistent(l_Lean_Meta_coerceToFunction_x3f___closed__2);
l_Lean_Meta_coerceToFunction_x3f___closed__3 = _init_l_Lean_Meta_coerceToFunction_x3f___closed__3();
lean_mark_persistent(l_Lean_Meta_coerceToFunction_x3f___closed__3);
l_Lean_Meta_coerceToFunction_x3f___closed__4 = _init_l_Lean_Meta_coerceToFunction_x3f___closed__4();
lean_mark_persistent(l_Lean_Meta_coerceToFunction_x3f___closed__4);
l_Lean_Meta_coerceToFunction_x3f___closed__5 = _init_l_Lean_Meta_coerceToFunction_x3f___closed__5();
lean_mark_persistent(l_Lean_Meta_coerceToFunction_x3f___closed__5);
l_Lean_Meta_coerceToFunction_x3f___closed__6 = _init_l_Lean_Meta_coerceToFunction_x3f___closed__6();
lean_mark_persistent(l_Lean_Meta_coerceToFunction_x3f___closed__6);
l_Lean_Meta_coerceToFunction_x3f___closed__7 = _init_l_Lean_Meta_coerceToFunction_x3f___closed__7();
lean_mark_persistent(l_Lean_Meta_coerceToFunction_x3f___closed__7);
l_Lean_Meta_coerceToFunction_x3f___closed__8 = _init_l_Lean_Meta_coerceToFunction_x3f___closed__8();
lean_mark_persistent(l_Lean_Meta_coerceToFunction_x3f___closed__8);
l_Lean_Meta_coerceToSort_x3f___closed__0 = _init_l_Lean_Meta_coerceToSort_x3f___closed__0();
lean_mark_persistent(l_Lean_Meta_coerceToSort_x3f___closed__0);
l_Lean_Meta_coerceToSort_x3f___closed__1 = _init_l_Lean_Meta_coerceToSort_x3f___closed__1();
lean_mark_persistent(l_Lean_Meta_coerceToSort_x3f___closed__1);
l_Lean_Meta_coerceToSort_x3f___closed__2 = _init_l_Lean_Meta_coerceToSort_x3f___closed__2();
lean_mark_persistent(l_Lean_Meta_coerceToSort_x3f___closed__2);
l_Lean_Meta_coerceToSort_x3f___closed__3 = _init_l_Lean_Meta_coerceToSort_x3f___closed__3();
lean_mark_persistent(l_Lean_Meta_coerceToSort_x3f___closed__3);
l_Lean_Meta_coerceToSort_x3f___closed__4 = _init_l_Lean_Meta_coerceToSort_x3f___closed__4();
lean_mark_persistent(l_Lean_Meta_coerceToSort_x3f___closed__4);
l_Lean_Meta_coerceToSort_x3f___closed__5 = _init_l_Lean_Meta_coerceToSort_x3f___closed__5();
lean_mark_persistent(l_Lean_Meta_coerceToSort_x3f___closed__5);
l_Lean_Meta_coerceToSort_x3f___closed__6 = _init_l_Lean_Meta_coerceToSort_x3f___closed__6();
lean_mark_persistent(l_Lean_Meta_coerceToSort_x3f___closed__6);
l_Lean_Meta_isTypeApp_x3f___closed__0 = _init_l_Lean_Meta_isTypeApp_x3f___closed__0();
l_Lean_Meta_coerceMonadLift_x3f___closed__0 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__0();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__0);
l_Lean_Meta_coerceMonadLift_x3f___closed__1 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__1();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__1);
l_Lean_Meta_coerceMonadLift_x3f___closed__2 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__2();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__2);
l_Lean_Meta_coerceMonadLift_x3f___closed__3 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__3();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__3);
l_Lean_Meta_coerceMonadLift_x3f___closed__4 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__4();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__4);
l_Lean_Meta_coerceMonadLift_x3f___closed__5 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__5();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__5);
l_Lean_Meta_coerceMonadLift_x3f___closed__6 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__6();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__6);
l_Lean_Meta_coerceMonadLift_x3f___closed__7 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__7();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__7);
l_Lean_Meta_coerceMonadLift_x3f___closed__8 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__8();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__8);
l_Lean_Meta_coerceMonadLift_x3f___closed__9 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__9();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__9);
l_Lean_Meta_coerceMonadLift_x3f___closed__10 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__10();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__10);
l_Lean_Meta_coerceMonadLift_x3f___closed__11 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__11();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__11);
l_Lean_Meta_coerceMonadLift_x3f___closed__12 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__12();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__12);
l_Lean_Meta_coerceMonadLift_x3f___closed__13 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__13();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__13);
l_Lean_Meta_coerceMonadLift_x3f___closed__14 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__14();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__14);
l_Lean_Meta_coerceMonadLift_x3f___closed__15 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__15();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__15);
l_Lean_Meta_coerceMonadLift_x3f___closed__16 = _init_l_Lean_Meta_coerceMonadLift_x3f___closed__16();
lean_mark_persistent(l_Lean_Meta_coerceMonadLift_x3f___closed__16);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
